#255B18#255B18

#255B18 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.114 H 140.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#255B18
RGBrgb(37, 91, 24)
HSLhsl(108, 58%, 23%)
HSVhsv(108, 74%, 36%)
CMYKcmyk(59.3%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.86, -31.80, 31.90)
CIE-LCHlch(33.86, 45.04, 134.91°)
OKLaboklab(41.93% -0.0872 0.073)
OKLCHoklch(41.93% 0.114 140.1)
XYZxyz(4.6687, 7.9410, 2.1507)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B18 #4E185B
analogous
#475B18 #255B18 #185B2C
triadic
#255B18 #18255B #5B1825
tetradic
#255B18 #18475B #4E185B #5B2C18
square
#255B18 #18475B #4E185B #5B2C18
split-complementary
#255B18 #2C185B #5B1847
monochromatic
#0A1806 #112B0B #255B18 #398B25 #4CBC32

Accessibility & contrast

On white

8.11
#255B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#255B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B18
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B18#FFFFFF#000000##FFFFFF
##255B181.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#1F584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255b18;
/* rgb */ color: rgb(37, 91, 24);
/* oklch */ color: oklch(41.9% 0.114 140.1);
Tailwind
colors: {
  custom: {
    50: '#668a59',
    500: '#255b18',
    950: '#000000',
  },
}
SCSS
$custom: #255b18;
$custom-light: #668a59;
$custom-dark: #000000;
JSON
{
  "hex": "#255b18",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 108.358,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.11373,
    "h": 140.1
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#255B18
secondary
#813D92
accent
#46E1C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255B18

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

Preview Lab → · Contrast checker → · Palette generator →

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