#25400B#25400B

#25400B is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.084 H 133.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#25400B
RGBrgb(37, 64, 11)
HSLhsl(91, 71%, 15%)
HSVhsv(91, 83%, 25%)
CMYKcmyk(42.2%, 0%, 82.8%, 74.9%)
CIE-LABlab(23.95, -20.45, 27.49)
CIE-LCHlch(23.95, 34.26, 126.64°)
OKLaboklab(33.75% -0.0575 0.0617)
OKLCHoklch(33.75% 0.084 133)
XYZxyz(2.6567, 4.0841, 0.9649)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25400B #260B40
analogous
#40400B #25400B #0B400B
triadic
#25400B #0B2540 #400B25
tetradic
#25400B #0B4040 #260B40 #400B0B
square
#25400B #0B4040 #260B40 #400B0B
split-complementary
#25400B #0B0B40 #400B40
monochromatic
#0F1A04 #0F1A04 #25400B #437414 #61A81D

Accessibility & contrast

On white

11.56
#25400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#25400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25400B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25400B#FFFFFF#000000##FFFFFF
##25400B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A03
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#253D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25400b;
/* rgb */ color: rgb(37, 64, 11);
/* oklch */ color: oklch(33.8% 0.084 133.0);
Tailwind
colors: {
  custom: {
    50: '#62754e',
    500: '#25400b',
    950: '#000000',
  },
}
SCSS
$custom: #25400b;
$custom-light: #62754e;
$custom-dark: #000000;
JSON
{
  "hex": "#25400b",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 90.566,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33751,
    "c": 0.08435,
    "h": 133
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#25400B
secondary
#542A7D
accent
#3AED96
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #25400B

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

Preview Lab → · Contrast checker → · Palette generator →

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