#022708

A color in the Green family

#022708 is a color in the Green family: RGB(2, 39, 8), HSL(130°, 90%, 8%), CMYK(95%, 0%, 79%, 85%). Closest named color: darkslategray. Contrast is 16.2:1 on white and 1.3:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#022708
RGBrgb(2 39 8)
RGB (legacy)rgb(2, 39, 8)
RGB %rgb(1% 15% 3%)
HSLhsl(130 90% 8%)
HSV / HSBhsv(130, 95%, 15%)
HWBhwb(130 1% 85%)
CMYKcmyk(95%, 0%, 79%, 85%)
CIELAB (D50)lab(12.5 -19.85 14.54)
LCHlch(12.5 24.6 143.77)
OKLaboklab(0.2386 -0.0574 0.0385)
OKLCHoklch(0.2386 0.0691 146.15)
Decimal141064

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 17.3
Closest web-safe color#003300
Hue130°
Saturation (HSL / HSV)90% / 95%
Lightness (HSL)8%
Brightness or Value (HSV)15%
Luminance (Rec.601 / Rec.709)10% / 11%
Relative luminance (WCAG)0.0148
Red / Green / Blue2 / 39 / 8

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 102.9 / 0 · As background with white / black text: Lc -105.5 / 0

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: #022708;
  --color-brand-oklch: oklch(23.86% 0.0691 146.15);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(2 39 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#022708] text-[#022708] border-[#022708]">