#25470B#25470B

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

Color values

HEX#25470B
RGBrgb(37, 71, 11)
HSLhsl(94, 73%, 16%)
HSVhsv(94, 85%, 28%)
CMYKcmyk(47.9%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.52, -23.91, 30.01)
CIE-LCHlch(26.52, 38.37, 128.55°)
OKLaboklab(35.85% -0.0669 0.067)
OKLCHoklch(35.85% 0.095 135)
XYZxyz(3.0765, 4.9238, 1.1048)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25470B #2D0B47
analogous
#43470B #25470B #0B470F
triadic
#25470B #0B2547 #470B25
tetradic
#25470B #0B4347 #2D0B47 #470F0B
square
#25470B #0B4347 #2D0B47 #470F0B
split-complementary
#25470B #0F0B47 #470B43
monochromatic
#0E1A04 #0E1A04 #25470B #417C13 #5CB11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25470B#FFFFFF#000000##FFFFFF
##25470B1.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)
#4A4001
Deuteranopia (green-blind)
#453E11
Tritanopia (blue-blind)
#24443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25470b;
/* rgb */ color: rgb(37, 71, 11);
/* oklch */ color: oklch(35.9% 0.095 135.0);
Tailwind
colors: {
  custom: {
    50: '#637a4f',
    500: '#25470b',
    950: '#000000',
  },
}
SCSS
$custom: #25470b;
$custom-light: #637a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#25470b",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 94,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35853,
    "c": 0.09465,
    "h": 135
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#25470B
secondary
#5D2A83
accent
#38F0A0
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #25470B

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

Preview Lab → · Contrast checker → · Palette generator →

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