#25400C#25400C

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

Color values

HEX#25400C
RGBrgb(37, 64, 12)
HSLhsl(91, 68%, 15%)
HSVhsv(91, 81%, 25%)
CMYKcmyk(42.2%, 0%, 81.2%, 74.9%)
CIE-LABlab(23.96, -20.37, 27.06)
CIE-LCHlch(23.96, 33.87, 126.97°)
OKLaboklab(33.76% -0.0572 0.061)
OKLCHoklch(33.76% 0.084 133.2)
XYZxyz(2.6627, 4.0865, 0.9962)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25400C #270C40
analogous
#3F400C #25400C #0C400D
triadic
#25400C #0C2540 #400C25
tetradic
#25400C #0C3F40 #270C40 #400D0C
square
#25400C #0C3F40 #270C40 #400D0C
split-complementary
#25400C #0D0C40 #400C3F
monochromatic
#0F1A05 #0F1A05 #25400C #437416 #61A71F

Accessibility & contrast

On white

11.55
#25400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25400C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25400C#FFFFFF#000000##FFFFFF
##25400C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25400c;
/* rgb */ color: rgb(37, 64, 12);
/* oklch */ color: oklch(33.8% 0.084 133.2);
Tailwind
colors: {
  custom: {
    50: '#62754f',
    500: '#25400c',
    950: '#000000',
  },
}
SCSS
$custom: #25400c;
$custom-light: #62754f;
$custom-dark: #000000;
JSON
{
  "hex": "#25400c",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 91.154,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33759,
    "c": 0.08361,
    "h": 133.2
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

primary
#25400C
secondary
#552C7C
accent
#3DEB97
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #25400C

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

Preview Lab → · Contrast checker → · Palette generator →

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