#25420E#25420E

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

Color values

HEX#25420E
RGBrgb(37, 66, 14)
HSLhsl(93, 65%, 16%)
HSVhsv(93, 79%, 26%)
CMYKcmyk(43.9%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.71, -21.21, 26.92)
CIE-LCHlch(24.71, 34.27, 128.24°)
OKLaboklab(34.38% -0.0593 0.061)
OKLCHoklch(34.38% 0.085 134.2)
XYZxyz(2.7904, 4.3213, 1.1024)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25420E #2B0E42
analogous
#3F420E #25420E #0E4211
triadic
#25420E #0E2542 #420E25
tetradic
#25420E #0E3F42 #2B0E42 #42110E
square
#25420E #0E3F42 #2B0E42 #42110E
split-complementary
#25420E #110E42 #420E3F
monochromatic
#0E1905 #0E1905 #25420E #417419 #5EA723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25420E#FFFFFF#000000##FFFFFF
##25420E1.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)
#453C06
Deuteranopia (green-blind)
#413A13
Tritanopia (blue-blind)
#253F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25420e;
/* rgb */ color: rgb(37, 66, 14);
/* oklch */ color: oklch(34.4% 0.085 134.2);
Tailwind
colors: {
  custom: {
    50: '#627650',
    500: '#25420e',
    950: '#000000',
  },
}
SCSS
$custom: #25420e;
$custom-light: #627650;
$custom-dark: #000000;
JSON
{
  "hex": "#25420e",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 93.462,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34379,
    "c": 0.0851,
    "h": 134.2
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#25420E
secondary
#5A2F7D
accent
#40E89E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #25420E

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

Preview Lab → · Contrast checker → · Palette generator →

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