#04250E#04250E

#04250E is a very dark, muted green. Relative luminance 0.014; OKLCH L 23.4% C 0.058 H 150.0°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#04250E
RGBrgb(4, 37, 14)
HSLhsl(138, 80%, 8%)
HSVhsv(138, 89%, 15%)
CMYKcmyk(89.2%, 0%, 62.2%, 85.5%)
CIE-LABlab(11.83, -18.59, 11.24)
CIE-LCHlch(11.83, 21.72, 148.85°)
OKLaboklab(23.36% -0.0501 0.029)
OKLCHoklch(23.36% 0.058 150)
XYZxyz(0.7908, 1.3806, 0.6402)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04250E #25041B
analogous
#0A2504 #04250E #04251E
triadic
#04250E #0E0425 #250E04
tetradic
#04250E #040A25 #25041B #251E04
square
#04250E #040A25 #25041B #251E04
split-complementary
#04250E #1E0425 #25040A
monochromatic
#031C0A #031C0A #04250E #0A5C23 #109338

Accessibility & contrast

On white

16.46
#04250E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#04250E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04250E
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04250E#FFFFFF#000000##FFFFFF
##04250E1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210C
Deuteranopia (green-blind)
#211E10
Tritanopia (blue-blind)
#002420
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #04250e;
/* rgb */ color: rgb(4, 37, 14);
/* oklch */ color: oklch(23.4% 0.058 150.0);
Tailwind
colors: {
  custom: {
    50: '#48604d',
    500: '#04250e',
    950: '#000000',
  },
}
SCSS
$custom: #04250e;
$custom-light: #48604d;
$custom-dark: #000000;
JSON
{
  "hex": "#04250e",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 14
  },
  "hsl": {
    "h": 138.182,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23362,
    "c": 0.05787,
    "h": 150
  },
  "luminance": 0.01381
}

Semantic roles & 50–950 ramp

primary
#04250E
secondary
#681D51
accent
#31BBF7
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010501
muted
#777977

Preview Lab

Preview with #04250E

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

Preview Lab → · Contrast checker → · Palette generator →

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