#25420D#25420D

#25420D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.086 H 134.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#25420D
RGBrgb(37, 66, 13)
HSLhsl(93, 67%, 15%)
HSVhsv(93, 80%, 26%)
CMYKcmyk(43.9%, 0%, 80.3%, 74.1%)
CIE-LABlab(24.70, -21.30, 27.36)
CIE-LCHlch(24.70, 34.68, 127.90°)
OKLaboklab(34.37% -0.0596 0.0618)
OKLCHoklch(34.37% 0.086 134)
XYZxyz(2.7838, 4.3187, 1.0676)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25420D #2A0D42
analogous
#3F420D #25420D #0D420F
triadic
#25420D #0D2542 #420D25
tetradic
#25420D #0D3F42 #2A0D42 #420F0D
square
#25420D #0D3F42 #2A0D42 #420F0D
split-complementary
#25420D #0F0D42 #420D3F
monochromatic
#0E1A05 #0E1A05 #25420D #427517 #5EA821

Accessibility & contrast

On white

11.27
#25420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25420D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25420D#FFFFFF#000000##FFFFFF
##25420D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#253F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25420d;
/* rgb */ color: rgb(37, 66, 13);
/* oklch */ color: oklch(34.4% 0.086 134.0);
Tailwind
colors: {
  custom: {
    50: '#63764f',
    500: '#25420d',
    950: '#000000',
  },
}
SCSS
$custom: #25420d;
$custom-light: #63764f;
$custom-dark: #000000;
JSON
{
  "hex": "#25420d",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 92.83,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34369,
    "c": 0.08588,
    "h": 134
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#25420D
secondary
#592D7E
accent
#3EEA9C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #25420D

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

Preview Lab → · Contrast checker → · Palette generator →

#25420D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva