#254F18#254F18

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

Color values

HEX#254F18
RGBrgb(37, 79, 24)
HSLhsl(106, 53%, 20%)
HSVhsv(106, 70%, 31%)
CMYKcmyk(53.2%, 0%, 69.6%, 69%)
CIE-LABlab(29.54, -26.48, 27.24)
CIE-LCHlch(29.54, 37.99, 134.19°)
OKLaboklab(38.37% -0.0728 0.0631)
OKLCHoklch(38.37% 0.096 139.1)
XYZxyz(3.7237, 6.0510, 1.8357)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F18 #42184F
analogous
#404F18 #254F18 #184F26
triadic
#254F18 #18254F #4F1825
tetradic
#254F18 #18404F #42184F #4F2618
square
#254F18 #18404F #42184F #4F2618
split-complementary
#254F18 #26184F #4F1840
monochromatic
#0B1707 #0F200A #254F18 #3B7E26 #51AD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254F18#FFFFFF#000000##FFFFFF
##254F181.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)
#514811
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#214C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254f18;
/* rgb */ color: rgb(37, 79, 24);
/* oklch */ color: oklch(38.4% 0.096 139.1);
Tailwind
colors: {
  custom: {
    50: '#648157',
    500: '#254f18',
    950: '#000000',
  },
}
SCSS
$custom: #254f18;
$custom-light: #648157;
$custom-dark: #000000;
JSON
{
  "hex": "#254f18",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 105.818,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.09636,
    "h": 139.1
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#254F18
secondary
#753D86
accent
#4BDDBA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254F18

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

Preview Lab → · Contrast checker → · Palette generator →

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