#254704#254704

#254704 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.8% C 0.099 H 134.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#254704
RGBrgb(37, 71, 4)
HSLhsl(90, 89%, 15%)
HSVhsv(90, 94%, 28%)
CMYKcmyk(47.9%, 0%, 94.4%, 72.2%)
CIE-LABlab(26.47, -24.39, 32.74)
CIE-LCHlch(26.47, 40.82, 126.69°)
OKLaboklab(35.8% -0.0687 0.0713)
OKLCHoklch(35.8% 0.099 134)
XYZxyz(3.0380, 4.9084, 0.9022)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254704 #260447
analogous
#474704 #254704 #044705
triadic
#254704 #042547 #470425
tetradic
#254704 #044747 #260447 #470504
square
#254704 #044747 #260447 #470504
split-complementary
#254704 #050447 #470447
monochromatic
#0F1D02 #0F1D02 #254704 #438107 #61BB0B

Accessibility & contrast

On white

10.60
#254704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#254704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254704
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254704#FFFFFF#000000##FFFFFF
##2547041.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0C
Tritanopia (blue-blind)
#25443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #254704;
/* rgb */ color: rgb(37, 71, 4);
/* oklch */ color: oklch(35.8% 0.099 134.0);
Tailwind
colors: {
  custom: {
    50: '#647a4c',
    500: '#254704',
    950: '#000000',
  },
}
SCSS
$custom: #254704;
$custom-light: #647a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#254704",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 4
  },
  "hsl": {
    "h": 90.448,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35803,
    "c": 0.09902,
    "h": 134
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#254704
secondary
#541F88
accent
#29FF95
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #254704

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

Preview Lab → · Contrast checker → · Palette generator →

#254704 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva