#0A7E21

A color in the Green family

#0a7e21 is a color in the Green family: RGB(10, 126, 33), HSL(132°, 85%, 27%), CMYK(92%, 0%, 74%, 51%). Closest named color: green. Contrast is 5.22:1 on white and 4.02:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#0a7e21
RGBrgb(10 126 33)
RGB (legacy)rgb(10, 126, 33)
RGB %rgb(4% 49% 13%)
HSLhsl(132 85% 27%)
HSV / HSBhsv(132, 92%, 49%)
HWBhwb(132 4% 51%)
CMYKcmyk(92%, 0%, 74%, 51%)
CIELAB (D50)lab(45.79 -44.83 39.44)
LCHlch(45.79 59.71 138.66)
OKLaboklab(0.5166 -0.1304 0.092)
OKLCHoklch(0.5166 0.1596 144.79)
Decimal687649

Properties

Color ToneGreen
Closest named colorgreen ΔE 1.9
Closest web-safe color#006633
Hue132°
Saturation (HSL / HSV)85% / 92%
Lightness (HSL)27%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)32% / 37%
Relative luminance (WCAG)0.151
Red / Green / Blue10 / 126 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.02: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 75.3 / -26.4 · As background with white / black text: Lc -80.7 / 28.8

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: #0a7e21;
  --color-brand-oklch: oklch(51.66% 0.1596 144.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(10 126 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0a7e21] text-[#0a7e21] border-[#0a7e21]">