#254118#254118

#254118 is a dark, moderate green. Relative luminance 0.042; OKLCH L 34.2% C 0.074 H 136.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#254118
RGBrgb(37, 65, 24)
HSLhsl(101, 46%, 17%)
HSVhsv(101, 63%, 25%)
CMYKcmyk(43.1%, 0%, 63.1%, 74.5%)
CIE-LABlab(24.45, -19.59, 21.44)
CIE-LCHlch(24.45, 29.04, 132.43°)
OKLaboklab(34.2% -0.054 0.0507)
OKLCHoklch(34.2% 0.074 136.8)
XYZxyz(2.8180, 4.2397, 1.5338)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254118 #341841
analogous
#394118 #254118 #184120
triadic
#254118 #182541 #411825
tetradic
#254118 #183941 #341841 #412018
square
#254118 #183941 #341841 #412018
split-complementary
#254118 #201841 #411839
monochromatic
#0D1608 #0D1608 #254118 #3E6E29 #589A39

Accessibility & contrast

On white

11.36
#254118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#254118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254118
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254118#FFFFFF#000000##FFFFFF
##2541181.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#3F391B
Tritanopia (blue-blind)
#243F38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #254118;
/* rgb */ color: rgb(37, 65, 24);
/* oklch */ color: oklch(34.2% 0.074 136.8);
Tailwind
colors: {
  custom: {
    50: '#627656',
    500: '#254118',
    950: '#000000',
  },
}
SCSS
$custom: #254118;
$custom-light: #627656;
$custom-dark: #000000;
JSON
{
  "hex": "#254118",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 24
  },
  "hsl": {
    "h": 100.976,
    "s": 46.067,
    "l": 17.451
  },
  "oklch": {
    "l": 0.34203,
    "c": 0.07409,
    "h": 136.8
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#254118
secondary
#653D78
accent
#52D6AC
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050803
muted
#797B78

Preview Lab

Preview with #254118

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

Preview Lab → · Contrast checker → · Palette generator →

#254118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva