#254E0D#254E0D

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

Color values

HEX#254E0D
RGBrgb(37, 78, 13)
HSLhsl(98, 71%, 18%)
HSVhsv(98, 83%, 31%)
CMYKcmyk(52.6%, 0%, 83.3%, 69.4%)
CIE-LABlab(29.08, -27.04, 31.71)
CIE-LCHlch(29.08, 41.68, 130.45°)
OKLaboklab(37.97% -0.0752 0.0709)
OKLCHoklch(37.97% 0.103 136.7)
XYZxyz(3.5599, 5.8709, 1.3263)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E0D #360D4E
analogous
#454E0D #254E0D #0D4E15
triadic
#254E0D #0D254E #4E0D25
tetradic
#254E0D #0D454E #360D4E #4E150D
square
#254E0D #0D454E #360D4E #4E150D
split-complementary
#254E0D #150D4E #4E0D45
monochromatic
#0C1A04 #0C1A04 #254E0D #3E8216 #57B71E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254E0D#FFFFFF#000000##FFFFFF
##254E0D1.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)
#514702
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#234B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254e0d;
/* rgb */ color: rgb(37, 78, 13);
/* oklch */ color: oklch(38.0% 0.103 136.7);
Tailwind
colors: {
  custom: {
    50: '#648051',
    500: '#254e0d',
    950: '#000000',
  },
}
SCSS
$custom: #254e0d;
$custom-light: #648051;
$custom-dark: #000000;
JSON
{
  "hex": "#254e0d",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 97.846,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.10331,
    "h": 136.7
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#254E0D
secondary
#672E89
accent
#3AEEAC
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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