#254705#254705

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

Color values

HEX#254705
RGBrgb(37, 71, 5)
HSLhsl(91, 87%, 15%)
HSVhsv(91, 93%, 28%)
CMYKcmyk(47.9%, 0%, 93%, 72.2%)
CIE-LABlab(26.48, -24.32, 32.34)
CIE-LCHlch(26.48, 40.46, 126.95°)
OKLaboklab(35.81% -0.0685 0.0707)
OKLCHoklch(35.81% 0.098 134.1)
XYZxyz(3.0435, 4.9106, 0.9310)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254705 #270547
analogous
#464705 #254705 #054706
triadic
#254705 #052547 #470525
tetradic
#254705 #054647 #270547 #470605
square
#254705 #054647 #270547 #470605
split-complementary
#254705 #060547 #470546
monochromatic
#0F1D02 #0F1D02 #254705 #438009 #61B90D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254705#FFFFFF#000000##FFFFFF
##2547051.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)
#463E0D
Tritanopia (blue-blind)
#25443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #254705;
/* rgb */ color: rgb(37, 71, 5);
/* oklch */ color: oklch(35.8% 0.098 134.1);
Tailwind
colors: {
  custom: {
    50: '#647a4c',
    500: '#254705',
    950: '#000000',
  },
}
SCSS
$custom: #254705;
$custom-light: #647a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#254705",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 90.909,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3581,
    "c": 0.09838,
    "h": 134.1
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#254705
secondary
#552187
accent
#2BFD97
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #254705

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

Preview Lab → · Contrast checker → · Palette generator →

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