#25470F#25470F

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

Color values

HEX#25470F
RGBrgb(37, 71, 15)
HSLhsl(96, 65%, 17%)
HSVhsv(96, 79%, 28%)
CMYKcmyk(47.9%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.55, -23.60, 28.35)
CIE-LCHlch(26.55, 36.89, 129.77°)
OKLaboklab(35.89% -0.0657 0.0642)
OKLCHoklch(35.89% 0.092 135.7)
XYZxyz(3.1023, 4.9341, 1.2408)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25470F #310F47
analogous
#41470F #25470F #0F4715
triadic
#25470F #0F2547 #470F25
tetradic
#25470F #0F4147 #310F47 #47150F
square
#25470F #0F4147 #310F47 #47150F
split-complementary
#25470F #150F47 #470F41
monochromatic
#0D1905 #0D1905 #25470F #3F7A1A #5AAC24

Accessibility & contrast

On white

10.57
#25470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25470F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25470F#FFFFFF#000000##FFFFFF
##25470F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25470f;
/* rgb */ color: rgb(37, 71, 15);
/* oklch */ color: oklch(35.9% 0.092 135.7);
Tailwind
colors: {
  custom: {
    50: '#637a51',
    500: '#25470f',
    950: '#000000',
  },
}
SCSS
$custom: #25470f;
$custom-light: #637a51;
$custom-dark: #000000;
JSON
{
  "hex": "#25470f",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 96.429,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.09185,
    "h": 135.7
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#25470F
secondary
#623081
accent
#40E8A6
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #25470F

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

Preview Lab → · Contrast checker → · Palette generator →

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