#254D16#254D16

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

Color values

HEX#254D16
RGBrgb(37, 77, 22)
HSLhsl(104, 56%, 19%)
HSVhsv(104, 71%, 30%)
CMYKcmyk(51.9%, 0%, 71.4%, 69.8%)
CIE-LABlab(28.80, -25.77, 27.42)
CIE-LCHlch(28.80, 37.63, 133.23°)
OKLaboklab(37.75% -0.071 0.0633)
OKLCHoklch(37.75% 0.095 138.3)
XYZxyz(3.5615, 5.7588, 1.6828)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D16 #3E164D
analogous
#414D16 #254D16 #164D22
triadic
#254D16 #16254D #4D1625
tetradic
#254D16 #16414D #3E164D #4D2216
square
#254D16 #16414D #3E164D #4D2216
split-complementary
#254D16 #22164D #4D1641
monochromatic
#0B1807 #0E1D08 #254D16 #3C7D24 #53AC31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254D16#FFFFFF#000000##FFFFFF
##254D161.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)
#50460F
Deuteranopia (green-blind)
#4A431B
Tritanopia (blue-blind)
#224A42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254d16;
/* rgb */ color: rgb(37, 77, 22);
/* oklch */ color: oklch(37.8% 0.095 138.3);
Tailwind
colors: {
  custom: {
    50: '#647f56',
    500: '#254d16',
    950: '#000000',
  },
}
SCSS
$custom: #254d16;
$custom-light: #647f56;
$custom-dark: #000000;
JSON
{
  "hex": "#254d16",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 103.636,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37752,
    "c": 0.09511,
    "h": 138.3
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#254D16
secondary
#703A85
accent
#49DFB6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254D16

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

Preview Lab → · Contrast checker → · Palette generator →

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