#25420C#25420C

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

Color values

HEX#25420C
RGBrgb(37, 66, 12)
HSLhsl(92, 69%, 15%)
HSVhsv(92, 82%, 26%)
CMYKcmyk(43.9%, 0%, 81.8%, 74.1%)
CIE-LABlab(24.69, -21.38, 27.80)
CIE-LCHlch(24.69, 35.07, 127.57°)
OKLaboklab(34.36% -0.06 0.0625)
OKLCHoklch(34.36% 0.087 133.8)
XYZxyz(2.7775, 4.3162, 1.0345)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25420C #290C42
analogous
#40420C #25420C #0C420E
triadic
#25420C #0C2542 #420C25
tetradic
#25420C #0C4042 #290C42 #420E0C
square
#25420C #0C4042 #290C42 #420E0C
split-complementary
#25420C #0E0C42 #420C40
monochromatic
#0F1A05 #0F1A05 #25420C #427615 #5FAA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #25420c;
/* rgb */ color: rgb(37, 66, 12);
/* oklch */ color: oklch(34.4% 0.087 133.8);
Tailwind
colors: {
  custom: {
    50: '#63764f',
    500: '#25420c',
    950: '#000000',
  },
}
SCSS
$custom: #25420c;
$custom-light: #63764f;
$custom-dark: #000000;
JSON
{
  "hex": "#25420c",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 92.222,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3436,
    "c": 0.08663,
    "h": 133.8
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#25420C
secondary
#582C7E
accent
#3CEC9A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #25420C

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

Preview Lab → · Contrast checker → · Palette generator →

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