#25470A#25470A

#25470A is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.8% C 0.095 H 134.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#25470A
RGBrgb(37, 71, 10)
HSLhsl(93, 75%, 16%)
HSVhsv(93, 86%, 28%)
CMYKcmyk(47.9%, 0%, 85.9%, 72.2%)
CIE-LABlab(26.51, -23.98, 30.38)
CIE-LCHlch(26.51, 38.71, 128.28°)
OKLaboklab(35.85% -0.0671 0.0676)
OKLCHoklch(35.85% 0.095 134.8)
XYZxyz(3.0709, 4.9215, 1.0752)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25470A #2C0A47
analogous
#43470A #25470A #0A470D
triadic
#25470A #0A2547 #470A25
tetradic
#25470A #0A4347 #2C0A47 #470D0A
square
#25470A #0A4347 #2C0A47 #470D0A
split-complementary
#25470A #0D0A47 #470A43
monochromatic
#0E1B04 #0E1B04 #25470A #417D12 #5DB219

Accessibility & contrast

On white

10.58
#25470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#25470A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25470A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25470A#FFFFFF#000000##FFFFFF
##25470A1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#453E11
Tritanopia (blue-blind)
#24443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25470a;
/* rgb */ color: rgb(37, 71, 10);
/* oklch */ color: oklch(35.8% 0.095 134.8);
Tailwind
colors: {
  custom: {
    50: '#637a4f',
    500: '#25470a',
    950: '#000000',
  },
}
SCSS
$custom: #25470a;
$custom-light: #637a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#25470a",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 93.443,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.09527,
    "h": 134.8
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#25470A
secondary
#5C2984
accent
#36F29F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #25470A

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

Preview Lab → · Contrast checker → · Palette generator →

#25470A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva