#04250C#04250C

#04250C is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.3% C 0.060 H 148.3°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#04250C
RGBrgb(4, 37, 12)
HSLhsl(135, 80%, 8%)
HSVhsv(135, 89%, 15%)
CMYKcmyk(89.2%, 0%, 67.6%, 85.5%)
CIE-LABlab(11.79, -18.97, 12.15)
CIE-LCHlch(11.79, 22.52, 147.36°)
OKLaboklab(23.32% -0.0512 0.0317)
OKLCHoklch(23.32% 0.06 148.3)
XYZxyz(0.7779, 1.3754, 0.5722)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04250C #25041D
analogous
#0C2504 #04250C #04251C
triadic
#04250C #0C0425 #250C04
tetradic
#04250C #040C25 #25041D #251C04
square
#04250C #040C25 #25041D #251C04
split-complementary
#04250C #1C0425 #25040C
monochromatic
#031C09 #031C09 #04250C #0A5C1E #109330

Accessibility & contrast

On white

16.47
#04250C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#04250C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04250C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04250C#FFFFFF#000000##FFFFFF
##04250C1.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210A
Deuteranopia (green-blind)
#211E0E
Tritanopia (blue-blind)
#00241F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #04250c;
/* rgb */ color: rgb(4, 37, 12);
/* oklch */ color: oklch(23.3% 0.060 148.3);
Tailwind
colors: {
  custom: {
    50: '#48604c',
    500: '#04250c',
    950: '#000000',
  },
}
SCSS
$custom: #04250c;
$custom-light: #48604c;
$custom-dark: #000000;
JSON
{
  "hex": "#04250c",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 12
  },
  "hsl": {
    "h": 134.545,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23322,
    "c": 0.06021,
    "h": 148.3
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#04250C
secondary
#681D56
accent
#31C7F7
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010501
muted
#777977

Preview Lab

Preview with #04250C

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

Preview Lab → · Contrast checker → · Palette generator →

#04250C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva