#254D13#254D13

#254D13 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.7% C 0.098 H 137.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#254D13
RGBrgb(37, 77, 19)
HSLhsl(101, 60%, 19%)
HSVhsv(101, 75%, 30%)
CMYKcmyk(51.9%, 0%, 75.3%, 69.8%)
CIE-LABlab(28.77, -26.07, 28.83)
CIE-LCHlch(28.77, 38.87, 132.13°)
OKLaboklab(37.72% -0.0721 0.0658)
OKLCHoklch(37.72% 0.098 137.6)
XYZxyz(3.5343, 5.7479, 1.5392)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D13 #3B134D
analogous
#424D13 #254D13 #134D1E
triadic
#254D13 #13254D #4D1325
tetradic
#254D13 #13424D #3B134D #4D1E13
square
#254D13 #13424D #3B134D #4D1E13
split-complementary
#254D13 #1E134D #4D1342
monochromatic
#0C1906 #0D1C07 #254D13 #3D7E1F #54AF2B

Accessibility & contrast

On white

9.77
#254D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254D13
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D13#FFFFFF#000000##FFFFFF
##254D131.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460B
Deuteranopia (green-blind)
#4A4318
Tritanopia (blue-blind)
#224A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254d13;
/* rgb */ color: rgb(37, 77, 19);
/* oklch */ color: oklch(37.7% 0.098 137.6);
Tailwind
colors: {
  custom: {
    50: '#647f54',
    500: '#254d13',
    950: '#000000',
  },
}
SCSS
$custom: #254d13;
$custom-light: #647f54;
$custom-dark: #000000;
JSON
{
  "hex": "#254d13",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 101.379,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3772,
    "c": 0.0976,
    "h": 137.6
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#254D13
secondary
#6D3686
accent
#44E4B2
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254D13

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

Preview Lab → · Contrast checker → · Palette generator →

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