#255A18#255A18

#255A18 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.112 H 140.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#255A18
RGBrgb(37, 90, 24)
HSLhsl(108, 58%, 22%)
HSVhsv(108, 73%, 35%)
CMYKcmyk(58.9%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.50, -31.37, 31.52)
CIE-LCHlch(33.50, 44.47, 134.86°)
OKLaboklab(41.63% -0.0861 0.0722)
OKLCHoklch(41.63% 0.112 140)
XYZxyz(4.5838, 7.7712, 2.1224)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A18 #4D185A
analogous
#465A18 #255A18 #185A2C
triadic
#255A18 #18255A #5A1825
tetradic
#255A18 #18465A #4D185A #5A2C18
square
#255A18 #18465A #4D185A #5A2C18
split-complementary
#255A18 #2C185A #5A1846
monochromatic
#0A1806 #112A0B #255A18 #398A25 #4DBB32

Accessibility & contrast

On white

8.22
#255A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#255A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255A18
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255A18#FFFFFF#000000##FFFFFF
##255A181.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#1F574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255a18;
/* rgb */ color: rgb(37, 90, 24);
/* oklch */ color: oklch(41.6% 0.112 140.0);
Tailwind
colors: {
  custom: {
    50: '#668959',
    500: '#255a18',
    950: '#000000',
  },
}
SCSS
$custom: #255a18;
$custom-light: #668959;
$custom-dark: #000000;
JSON
{
  "hex": "#255a18",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 108.182,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4163,
    "c": 0.11232,
    "h": 140
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#255A18
secondary
#803D91
accent
#47E1C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #255A18

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

Preview Lab → · Contrast checker → · Palette generator →

#255A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva