#254908#254908

#254908 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.4% C 0.099 H 135.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#254908
RGBrgb(37, 73, 8)
HSLhsl(93, 80%, 16%)
HSVhsv(93, 89%, 29%)
CMYKcmyk(49.3%, 0%, 89%, 71.4%)
CIE-LABlab(27.23, -25.06, 31.82)
CIE-LCHlch(27.23, 40.51, 128.23°)
OKLaboklab(36.43% -0.0702 0.0702)
OKLCHoklch(36.43% 0.099 135)
XYZxyz(3.1893, 5.1757, 1.0607)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254908 #2C0849
analogous
#454908 #254908 #08490B
triadic
#254908 #082549 #490825
tetradic
#254908 #084549 #2C0849 #490B08
square
#254908 #084549 #2C0849 #490B08
split-complementary
#254908 #0B0849 #490845
monochromatic
#0E1C03 #0E1C03 #254908 #41800E #5DB714

Accessibility & contrast

On white

10.32
#254908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#254908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254908
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254908#FFFFFF#000000##FFFFFF
##2549081.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#24463D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #254908;
/* rgb */ color: rgb(37, 73, 8);
/* oklch */ color: oklch(36.4% 0.099 135.0);
Tailwind
colors: {
  custom: {
    50: '#647c4e',
    500: '#254908',
    950: '#000000',
  },
}
SCSS
$custom: #254908;
$custom-light: #647c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#254908",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 93.231,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36433,
    "c": 0.0993,
    "h": 135
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#254908
secondary
#5C2687
accent
#31F79F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254908

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

Preview Lab → · Contrast checker → · Palette generator →

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