#25470C#25470C

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

Color values

HEX#25470C
RGBrgb(37, 71, 12)
HSLhsl(95, 71%, 16%)
HSVhsv(95, 83%, 28%)
CMYKcmyk(47.9%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.52, -23.84, 29.61)
CIE-LCHlch(26.52, 38.02, 128.84°)
OKLaboklab(35.86% -0.0666 0.0663)
OKLCHoklch(35.86% 0.094 135.1)
XYZxyz(3.0825, 4.9262, 1.1362)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25470C #2E0C47
analogous
#43470C #25470C #0C4711
triadic
#25470C #0C2547 #470C25
tetradic
#25470C #0C4347 #2E0C47 #47110C
square
#25470C #0C4347 #2E0C47 #47110C
split-complementary
#25470C #110C47 #470C43
monochromatic
#0E1A04 #0E1A04 #25470C #407B15 #5CB01E

Accessibility & contrast

On white

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

On black

1.99
#25470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##25470C#FFFFFF#000000##FFFFFF
##25470C1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25470c;
/* rgb */ color: rgb(37, 71, 12);
/* oklch */ color: oklch(35.9% 0.094 135.1);
Tailwind
colors: {
  custom: {
    50: '#637a50',
    500: '#25470c',
    950: '#000000',
  },
}
SCSS
$custom: #25470c;
$custom-light: #637a50;
$custom-dark: #000000;
JSON
{
  "hex": "#25470c",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 94.576,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35861,
    "c": 0.09399,
    "h": 135.1
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#25470C
secondary
#5E2C83
accent
#3AEEA2
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #25470C

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

Preview Lab → · Contrast checker → · Palette generator →

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