#254807#254807

#254807 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.099 H 134.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#254807
RGBrgb(37, 72, 7)
HSLhsl(92, 82%, 15%)
HSVhsv(92, 90%, 28%)
CMYKcmyk(48.6%, 0%, 90.3%, 71.8%)
CIE-LABlab(26.86, -24.66, 31.87)
CIE-LCHlch(26.86, 40.30, 127.73°)
OKLaboklab(36.13% -0.0692 0.0701)
OKLCHoklch(36.13% 0.099 134.6)
XYZxyz(3.1186, 5.0432, 1.0101)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254807 #2A0748
analogous
#454807 #254807 #07480A
triadic
#254807 #072548 #480725
tetradic
#254807 #074548 #2A0748 #480A07
square
#254807 #074548 #2A0748 #480A07
split-complementary
#254807 #0A0748 #480745
monochromatic
#0E1C03 #0E1C03 #254807 #42800C #5EB812

Accessibility & contrast

On white

10.46
#254807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#254807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254807
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254807#FFFFFF#000000##FFFFFF
##2548071.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#463E0F
Tritanopia (blue-blind)
#24453C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #254807;
/* rgb */ color: rgb(37, 72, 7);
/* oklch */ color: oklch(36.1% 0.099 134.6);
Tailwind
colors: {
  custom: {
    50: '#647b4d',
    500: '#254807',
    950: '#000000',
  },
}
SCSS
$custom: #254807;
$custom-light: #647b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#254807",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 7
  },
  "hsl": {
    "h": 92.308,
    "s": 82.278,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36125,
    "c": 0.09852,
    "h": 134.6
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#254807
secondary
#592487
accent
#2FF99C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254807

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

Preview Lab → · Contrast checker → · Palette generator →

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