#254606#254606

#254606 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.5% C 0.096 H 134.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#254606
RGBrgb(37, 70, 6)
HSLhsl(91, 84%, 15%)
HSVhsv(91, 91%, 27%)
CMYKcmyk(47.1%, 0%, 91.4%, 72.5%)
CIE-LABlab(26.12, -23.78, 31.60)
CIE-LCHlch(26.12, 39.55, 126.96°)
OKLaboklab(35.52% -0.0669 0.0693)
OKLCHoklch(35.52% 0.096 134)
XYZxyz(2.9859, 4.7866, 0.9388)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254606 #270646
analogous
#454606 #254606 #064607
triadic
#254606 #062546 #460625
tetradic
#254606 #064546 #270646 #460706
square
#254606 #064546 #270646 #460706
split-complementary
#254606 #070646 #460645
monochromatic
#0F1C02 #0F1C02 #254606 #437E0B #61B710

Accessibility & contrast

On white

10.73
#254606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#254606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254606
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254606#FFFFFF#000000##FFFFFF
##2546061.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#453D0D
Tritanopia (blue-blind)
#25433A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #254606;
/* rgb */ color: rgb(37, 70, 6);
/* oklch */ color: oklch(35.5% 0.096 134.0);
Tailwind
colors: {
  custom: {
    50: '#647a4c',
    500: '#254606',
    950: '#000000',
  },
}
SCSS
$custom: #254606;
$custom-light: #647a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#254606",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 90.938,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35516,
    "c": 0.09637,
    "h": 134
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#254606
secondary
#552285
accent
#2DFA97
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #254606

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

Preview Lab → · Contrast checker → · Palette generator →

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