#02400A

A color in the Green family

#02400a is a color in the Green family: RGB(2, 64, 10), HSL(128°, 94%, 13%), CMYK(97%, 0%, 84%, 75%). Closest named color: darkslategray. Contrast is 12.07:1 on white and 1.74:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#02400a
RGBrgb(2 64 10)
RGB (legacy)rgb(2, 64, 10)
RGB %rgb(1% 25% 4%)
HSLhsl(128 94% 13%)
HSV / HSBhsv(128, 97%, 25%)
HWBhwb(128 1% 75%)
CMYKcmyk(97%, 0%, 84%, 75%)
CIELAB (D50)lab(22.68 -28.33 25.6)
LCHlch(22.68 38.19 137.9)
OKLaboklab(0.3233 -0.0826 0.0593)
OKLCHoklch(0.3233 0.1017 144.35)
Decimal147466

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 11.5
Closest web-safe color#003300
Hue128°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)13%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)15% / 18%
Relative luminance (WCAG)0.037
Red / Green / Blue2 / 64 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.07:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.74: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 97.1 / 0 · As background with white / black text: Lc -100.7 / 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: #02400a;
  --color-brand-oklch: oklch(32.33% 0.1017 144.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(2 64 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#02400a] text-[#02400a] border-[#02400a]">