#255818#255818

#255818 is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.0% C 0.110 H 139.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#255818
RGBrgb(37, 88, 24)
HSLhsl(108, 57%, 22%)
HSVhsv(108, 73%, 35%)
CMYKcmyk(58%, 0%, 72.7%, 65.5%)
CIE-LABlab(32.78, -30.51, 30.76)
CIE-LCHlch(32.78, 43.33, 134.77°)
OKLaboklab(41.04% -0.0837 0.0706)
OKLCHoklch(41.04% 0.11 139.9)
XYZxyz(4.4174, 7.4384, 2.0669)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255818 #4B1858
analogous
#455818 #255818 #18582B
triadic
#255818 #182558 #581825
tetradic
#255818 #184558 #4B1858 #582B18
square
#255818 #184558 #4B1858 #582B18
split-complementary
#255818 #2B1858 #581845
monochromatic
#0A1807 #11280B #255818 #398825 #4DB832

Accessibility & contrast

On white

8.44
#255818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#255818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255818
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255818#FFFFFF#000000##FFFFFF
##2558181.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#20554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #255818;
/* rgb */ color: rgb(37, 88, 24);
/* oklch */ color: oklch(41.0% 0.110 139.9);
Tailwind
colors: {
  custom: {
    50: '#668859',
    500: '#255818',
    950: '#000000',
  },
}
SCSS
$custom: #255818;
$custom-light: #668859;
$custom-dark: #000000;
JSON
{
  "hex": "#255818",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 107.813,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.10951,
    "h": 139.9
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#255818
secondary
#7E3D8F
accent
#47E0C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255818

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

Preview Lab → · Contrast checker → · Palette generator →

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