#254E0E#254E0E

#254E0E is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.103 H 136.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#254E0E
RGBrgb(37, 78, 14)
HSLhsl(98, 70%, 18%)
HSVhsv(98, 82%, 31%)
CMYKcmyk(52.6%, 0%, 82.1%, 69.4%)
CIE-LABlab(29.09, -26.97, 31.33)
CIE-LCHlch(29.09, 41.33, 130.72°)
OKLaboklab(37.97% -0.0749 0.0702)
OKLCHoklch(37.97% 0.103 136.8)
XYZxyz(3.5665, 5.8736, 1.3612)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E0E #370E4E
analogous
#454E0E #254E0E #0E4E17
triadic
#254E0E #0E254E #4E0E25
tetradic
#254E0E #0E454E #370E4E #4E170E
square
#254E0E #0E454E #370E4E #4E170E
split-complementary
#254E0E #170E4E #4E0E45
monochromatic
#0C1A05 #0C1A05 #254E0E #3E8217 #56B621

Accessibility & contrast

On white

9.66
#254E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#254E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E0E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E0E#FFFFFF#000000##FFFFFF
##254E0E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514703
Deuteranopia (green-blind)
#4C4315
Tritanopia (blue-blind)
#234B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254e0e;
/* rgb */ color: rgb(37, 78, 14);
/* oklch */ color: oklch(38.0% 0.103 136.8);
Tailwind
colors: {
  custom: {
    50: '#648052',
    500: '#254e0e',
    950: '#000000',
  },
}
SCSS
$custom: #254e0e;
$custom-light: #648052;
$custom-dark: #000000;
JSON
{
  "hex": "#254e0e",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 98.438,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.10268,
    "h": 136.8
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#254E0E
secondary
#682F89
accent
#3BECAD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254E0E

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

Preview Lab → · Contrast checker → · Palette generator →

#254E0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva