#25420B#25420B

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

Color values

HEX#25420B
RGBrgb(37, 66, 11)
HSLhsl(92, 71%, 15%)
HSVhsv(92, 83%, 26%)
CMYKcmyk(43.9%, 0%, 83.3%, 74.1%)
CIE-LABlab(24.68, -21.46, 28.21)
CIE-LCHlch(24.68, 35.45, 127.26°)
OKLaboklab(34.35% -0.0603 0.0632)
OKLCHoklch(34.35% 0.087 133.6)
XYZxyz(2.7715, 4.3138, 1.0032)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25420B #280B42
analogous
#41420B #25420B #0B420C
triadic
#25420B #0B2542 #420B25
tetradic
#25420B #0B4142 #280B42 #420C0B
square
#25420B #0B4142 #280B42 #420C0B
split-complementary
#25420B #0C0B42 #420B41
monochromatic
#0F1A04 #0F1A04 #25420B #427614 #60AB1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25420B#FFFFFF#000000##FFFFFF
##25420B1.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)
#453C03
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#253F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25420b;
/* rgb */ color: rgb(37, 66, 11);
/* oklch */ color: oklch(34.4% 0.087 133.6);
Tailwind
colors: {
  custom: {
    50: '#63764e',
    500: '#25420b',
    950: '#000000',
  },
}
SCSS
$custom: #25420b;
$custom-light: #63764e;
$custom-dark: #000000;
JSON
{
  "hex": "#25420b",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 91.636,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.08734,
    "h": 133.6
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#25420B
secondary
#572A7F
accent
#3AEE99
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #25420B

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

Preview Lab → · Contrast checker → · Palette generator →

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