#254D15#254D15

#254D15 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.096 H 138.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#254D15
RGBrgb(37, 77, 21)
HSLhsl(103, 57%, 19%)
HSVhsv(103, 73%, 30%)
CMYKcmyk(51.9%, 0%, 72.7%, 69.8%)
CIE-LABlab(28.79, -25.87, 27.89)
CIE-LCHlch(28.79, 38.05, 132.85°)
OKLaboklab(37.74% -0.0714 0.0641)
OKLCHoklch(37.74% 0.096 138.1)
XYZxyz(3.5521, 5.7550, 1.6330)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D15 #3D154D
analogous
#414D15 #254D15 #154D21
triadic
#254D15 #15254D #4D1525
tetradic
#254D15 #15414D #3D154D #4D2115
square
#254D15 #15414D #3D154D #4D2115
split-complementary
#254D15 #21154D #4D1541
monochromatic
#0C1807 #0E1D08 #254D15 #3C7D22 #53AD2F

Accessibility & contrast

On white

9.76
#254D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#254D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D15
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D15#FFFFFF#000000##FFFFFF
##254D151.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#224A42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254d15;
/* rgb */ color: rgb(37, 77, 21);
/* oklch */ color: oklch(37.7% 0.096 138.1);
Tailwind
colors: {
  custom: {
    50: '#647f55',
    500: '#254d15',
    950: '#000000',
  },
}
SCSS
$custom: #254d15;
$custom-light: #647f55;
$custom-dark: #000000;
JSON
{
  "hex": "#254d15",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 102.857,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37741,
    "c": 0.09596,
    "h": 138.1
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#254D15
secondary
#6F3985
accent
#47E0B5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254D15

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

Preview Lab → · Contrast checker → · Palette generator →

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