#25420A#25420A

#25420A is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.088 H 133.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#25420A
RGBrgb(37, 66, 10)
HSLhsl(91, 74%, 15%)
HSVhsv(91, 85%, 26%)
CMYKcmyk(43.9%, 0%, 84.8%, 74.1%)
CIE-LABlab(24.68, -21.53, 28.62)
CIE-LCHlch(24.68, 35.81, 126.96°)
OKLaboklab(34.34% -0.0605 0.0639)
OKLCHoklch(34.34% 0.088 133.5)
XYZxyz(2.7659, 4.3115, 0.9736)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25420A #270A42
analogous
#41420A #25420A #0A420B
triadic
#25420A #0A2542 #420A25
tetradic
#25420A #0A4142 #270A42 #420B0A
square
#25420A #0A4142 #270A42 #420B0A
split-complementary
#25420A #0B0A42 #420A41
monochromatic
#0F1B04 #0F1B04 #25420A #437712 #61AC1A

Accessibility & contrast

On white

11.28
#25420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25420A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25420A#FFFFFF#000000##FFFFFF
##25420A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C02
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#253F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25420a;
/* rgb */ color: rgb(37, 66, 10);
/* oklch */ color: oklch(34.3% 0.088 133.5);
Tailwind
colors: {
  custom: {
    50: '#63764e',
    500: '#25420a',
    950: '#000000',
  },
}
SCSS
$custom: #25420a;
$custom-light: #63764e;
$custom-dark: #000000;
JSON
{
  "hex": "#25420a",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 91.071,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34344,
    "c": 0.08802,
    "h": 133.5
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#25420A
secondary
#55297F
accent
#37F097
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #25420A

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

Preview Lab → · Contrast checker → · Palette generator →

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