#25420F#25420F

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

Color values

HEX#25420F
RGBrgb(37, 66, 15)
HSLhsl(94, 63%, 16%)
HSVhsv(94, 77%, 26%)
CMYKcmyk(43.9%, 0%, 77.3%, 74.1%)
CIE-LABlab(24.72, -21.12, 26.46)
CIE-LCHlch(24.72, 33.86, 128.60°)
OKLaboklab(34.39% -0.059 0.0602)
OKLCHoklch(34.39% 0.084 134.4)
XYZxyz(2.7973, 4.3241, 1.1391)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25420F #2C0F42
analogous
#3E420F #25420F #0F4212
triadic
#25420F #0F2542 #420F25
tetradic
#25420F #0F3E42 #2C0F42 #42120F
square
#25420F #0F3E42 #2C0F42 #42120F
split-complementary
#25420F #120F42 #420F3E
monochromatic
#0E1906 #0E1906 #25420F #41741A #5DA626

Accessibility & contrast

On white

11.26
#25420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25420F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25420F#FFFFFF#000000##FFFFFF
##25420F1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25420f;
/* rgb */ color: rgb(37, 66, 15);
/* oklch */ color: oklch(34.4% 0.084 134.4);
Tailwind
colors: {
  custom: {
    50: '#627650',
    500: '#25420f',
    950: '#000000',
  },
}
SCSS
$custom: #25420f;
$custom-light: #627650;
$custom-dark: #000000;
JSON
{
  "hex": "#25420f",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 94.118,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34388,
    "c": 0.0843,
    "h": 134.4
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#25420F
secondary
#5C307C
accent
#42E69F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #25420F

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

Preview Lab → · Contrast checker → · Palette generator →

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