#04200F#04200F

#04200F is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.6% C 0.048 H 153.8°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#04200F
RGBrgb(4, 32, 15)
HSLhsl(144, 78%, 7%)
HSVhsv(144, 88%, 13%)
CMYKcmyk(87.5%, 0%, 53.1%, 87.5%)
CIE-LABlab(9.75, -15.27, 7.81)
CIE-LCHlch(9.75, 17.15, 152.90°)
OKLaboklab(21.65% -0.043 0.0212)
OKLCHoklch(21.65% 0.048 153.8)
XYZxyz(0.6527, 1.0933, 0.6285)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04200F #200415
analogous
#072004 #04200F #04201D
triadic
#04200F #0F0420 #200F04
tetradic
#04200F #040720 #200415 #201D04
square
#04200F #040720 #200415 #201D04
split-complementary
#04200F #1D0420 #200407
monochromatic
#031B0D #031B0D #04200F #0B5628 #128D42

Accessibility & contrast

On white

17.23
#04200F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#04200F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04200F
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04200F#FFFFFF#000000##FFFFFF
##04200F1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D0E
Deuteranopia (green-blind)
#1C1A10
Tritanopia (blue-blind)
#001F1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #04200f;
/* rgb */ color: rgb(4, 32, 15);
/* oklch */ color: oklch(21.6% 0.048 153.8);
Tailwind
colors: {
  custom: {
    50: '#485b4e',
    500: '#04200f',
    950: '#000000',
  },
}
SCSS
$custom: #04200f;
$custom-light: #485b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04200f",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 15
  },
  "hsl": {
    "h": 143.571,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.2165,
    "c": 0.04795,
    "h": 153.8
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#04200F
secondary
#631D47
accent
#34A9F4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04200F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#04200F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva