#255C18#255C18

#255C18 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.115 H 140.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#255C18
RGBrgb(37, 92, 24)
HSLhsl(109, 59%, 23%)
HSVhsv(109, 74%, 36%)
CMYKcmyk(59.8%, 0%, 73.9%, 63.9%)
CIE-LABlab(34.22, -32.22, 32.28)
CIE-LCHlch(34.22, 45.61, 134.95°)
OKLaboklab(42.22% -0.0884 0.0738)
OKLCHoklch(42.22% 0.115 140.1)
XYZxyz(4.7548, 8.1132, 2.1794)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C18 #4F185C
analogous
#475C18 #255C18 #185C2D
triadic
#255C18 #18255C #5C1825
tetradic
#255C18 #18475C #4F185C #5C2D18
square
#255C18 #18475C #4F185C #5C2D18
split-complementary
#255C18 #2D185C #5C1847
monochromatic
#0A1806 #112B0B #255C18 #398D25 #4CBD31

Accessibility & contrast

On white

8.01
#255C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#255C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255C18
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C18#FFFFFF#000000##FFFFFF
##255C181.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530E
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#1F594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255c18;
/* rgb */ color: rgb(37, 92, 24);
/* oklch */ color: oklch(42.2% 0.115 140.1);
Tailwind
colors: {
  custom: {
    50: '#668b59',
    500: '#255c18',
    950: '#000000',
  },
}
SCSS
$custom: #255c18;
$custom-light: #668b59;
$custom-dark: #000000;
JSON
{
  "hex": "#255c18",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 108.529,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42219,
    "c": 0.11511,
    "h": 140.1
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#255C18
secondary
#823D93
accent
#46E2C4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255C18

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

Preview Lab → · Contrast checker → · Palette generator →

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