#0F7B21

A color in the Green family

#0f7b21 is a color in the Green family: RGB(15, 123, 33), HSL(130°, 78%, 27%), CMYK(88%, 0%, 73%, 52%). Closest named color: green. Contrast is 5.42:1 on white and 3.88:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#0f7b21
RGBrgb(15 123 33)
RGB (legacy)rgb(15, 123, 33)
RGB %rgb(6% 48% 13%)
HSLhsl(130 78% 27%)
HSV / HSBhsv(130, 88%, 48%)
HWBhwb(130 6% 52%)
CMYKcmyk(88%, 0%, 73%, 52%)
CIELAB (D50)lab(44.8 -43.5 38.45)
LCHlch(44.8 58.06 138.52)
OKLaboklab(0.5085 -0.1267 0.0899)
OKLCHoklch(0.5085 0.1553 144.64)
Decimal1014561

Properties

Color ToneGreen
Closest named colorgreen ΔE 2.5
Closest web-safe color#006633
Hue130°
Saturation (HSL / HSV)78% / 88%
Lightness (HSL)27%
Brightness or Value (HSV)48%
Luminance (Rec.601 / Rec.709)32% / 37%
Relative luminance (WCAG)0.1438
Red / Green / Blue15 / 123 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.42:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.88:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 76.4 / -25.3 · As background with white / black text: Lc -81.8 / 27.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #0f7b21;
  --color-brand-oklch: oklch(50.85% 0.1553 144.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(15 123 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0f7b21] text-[#0f7b21] border-[#0f7b21]">