#254706#254706

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

Color values

HEX#254706
RGBrgb(37, 71, 6)
HSLhsl(91, 84%, 15%)
HSVhsv(91, 92%, 28%)
CMYKcmyk(47.9%, 0%, 91.5%, 72.2%)
CIE-LABlab(26.48, -24.25, 31.93)
CIE-LCHlch(26.48, 40.10, 127.22°)
OKLaboklab(35.82% -0.0682 0.07)
OKLCHoklch(35.82% 0.098 134.2)
XYZxyz(3.0490, 4.9128, 0.9599)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254706 #280647
analogous
#454706 #254706 #064708
triadic
#254706 #062547 #470625
tetradic
#254706 #064547 #280647 #470806
square
#254706 #064547 #280647 #470806
split-complementary
#254706 #080647 #470645
monochromatic
#0F1C02 #0F1C02 #254706 #427F0B #60B810

Accessibility & contrast

On white

10.59
#254706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254706
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254706#FFFFFF#000000##FFFFFF
##2547061.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254706;
/* rgb */ color: rgb(37, 71, 6);
/* oklch */ color: oklch(35.8% 0.098 134.2);
Tailwind
colors: {
  custom: {
    50: '#647a4d',
    500: '#254706',
    950: '#000000',
  },
}
SCSS
$custom: #254706;
$custom-light: #647a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#254706",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 91.385,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35817,
    "c": 0.09775,
    "h": 134.2
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#254706
secondary
#572386
accent
#2DFB99
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #254706

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

Preview Lab → · Contrast checker → · Palette generator →

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