#254F17#254F17

#254F17 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.4% C 0.097 H 138.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#254F17
RGBrgb(37, 79, 23)
HSLhsl(105, 55%, 20%)
HSVhsv(105, 71%, 31%)
CMYKcmyk(53.2%, 0%, 70.9%, 69%)
CIE-LABlab(29.53, -26.59, 27.72)
CIE-LCHlch(29.53, 38.41, 133.81°)
OKLaboklab(38.36% -0.0732 0.064)
OKLCHoklch(38.36% 0.097 138.8)
XYZxyz(3.7134, 6.0469, 1.7819)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F17 #41174F
analogous
#414F17 #254F17 #174F25
triadic
#254F17 #17254F #4F1725
tetradic
#254F17 #17414F #41174F #4F2517
square
#254F17 #17414F #41174F #4F2517
split-complementary
#254F17 #25174F #4F1741
monochromatic
#0B1807 #0F2009 #254F17 #3B7E25 #51AE33

Accessibility & contrast

On white

9.50
#254F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#254F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F17
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F17#FFFFFF#000000##FFFFFF
##254F171.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524810
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#224C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254f17;
/* rgb */ color: rgb(37, 79, 23);
/* oklch */ color: oklch(38.4% 0.097 138.8);
Tailwind
colors: {
  custom: {
    50: '#648157',
    500: '#254f17',
    950: '#000000',
  },
}
SCSS
$custom: #254f17;
$custom-light: #648157;
$custom-dark: #000000;
JSON
{
  "hex": "#254f17",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 105,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.09724,
    "h": 138.8
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#254F17
secondary
#743C86
accent
#4ADEB9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254F17

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

Preview Lab → · Contrast checker → · Palette generator →

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