#254D14#254D14

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

Color values

HEX#254D14
RGBrgb(37, 77, 20)
HSLhsl(102, 59%, 19%)
HSVhsv(102, 74%, 30%)
CMYKcmyk(51.9%, 0%, 74%, 69.8%)
CIE-LABlab(28.78, -25.98, 28.37)
CIE-LCHlch(28.78, 38.46, 132.48°)
OKLaboklab(37.73% -0.0717 0.065)
OKLCHoklch(37.73% 0.097 137.8)
XYZxyz(3.5430, 5.7513, 1.5851)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D14 #3C144D
analogous
#424D14 #254D14 #144D20
triadic
#254D14 #14254D #4D1425
tetradic
#254D14 #14424D #3C144D #4D2014
square
#254D14 #14424D #3C144D #4D2014
split-complementary
#254D14 #20144D #4D1442
monochromatic
#0C1806 #0E1C07 #254D14 #3C7E21 #54AE2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254D14#FFFFFF#000000##FFFFFF
##254D141.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)
#50460C
Deuteranopia (green-blind)
#4A4319
Tritanopia (blue-blind)
#224A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254d14;
/* rgb */ color: rgb(37, 77, 20);
/* oklch */ color: oklch(37.7% 0.097 137.8);
Tailwind
colors: {
  custom: {
    50: '#647f55',
    500: '#254d14',
    950: '#000000',
  },
}
SCSS
$custom: #254d14;
$custom-light: #647f55;
$custom-dark: #000000;
JSON
{
  "hex": "#254d14",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 102.105,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37731,
    "c": 0.0968,
    "h": 137.8
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#254D14
secondary
#6E3885
accent
#46E2B3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254D14

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

Preview Lab → · Contrast checker → · Palette generator →

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