#254907#254907

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

Color values

HEX#254907
RGBrgb(37, 73, 7)
HSLhsl(93, 83%, 16%)
HSVhsv(93, 90%, 29%)
CMYKcmyk(49.3%, 0%, 90.4%, 71.4%)
CIE-LABlab(27.22, -25.13, 32.20)
CIE-LCHlch(27.22, 40.85, 127.97°)
OKLaboklab(36.43% -0.0705 0.0708)
OKLCHoklch(36.43% 0.1 134.9)
XYZxyz(3.1838, 5.1736, 1.0318)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254907 #2B0749
analogous
#464907 #254907 #07490A
triadic
#254907 #072549 #490725
tetradic
#254907 #074649 #2B0749 #490A07
square
#254907 #074649 #2B0749 #490A07
split-complementary
#254907 #0A0749 #490746
monochromatic
#0E1C03 #0E1C03 #254907 #41810C #5EB912

Accessibility & contrast

On white

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

On black

2.03
#254907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##254907#FFFFFF#000000##FFFFFF
##2549071.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254907;
/* rgb */ color: rgb(37, 73, 7);
/* oklch */ color: oklch(36.4% 0.100 134.9);
Tailwind
colors: {
  custom: {
    50: '#647c4e',
    500: '#254907',
    950: '#000000',
  },
}
SCSS
$custom: #254907;
$custom-light: #647c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#254907",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 7
  },
  "hsl": {
    "h": 92.727,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36426,
    "c": 0.09991,
    "h": 134.9
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#254907
secondary
#5A2488
accent
#2FF99D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254907

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

Preview Lab → · Contrast checker → · Palette generator →

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