#255B17#255B17

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

Color values

HEX#255B17
RGBrgb(37, 91, 23)
HSLhsl(108, 60%, 22%)
HSVhsv(108, 75%, 36%)
CMYKcmyk(59.3%, 0%, 74.7%, 64.3%)
CIE-LABlab(33.85, -31.90, 32.34)
CIE-LCHlch(33.85, 45.42, 134.60°)
OKLaboklab(41.92% -0.0875 0.0738)
OKLCHoklch(41.92% 0.114 139.9)
XYZxyz(4.6585, 7.9370, 2.0969)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B17 #4D175B
analogous
#475B17 #255B17 #175B2B
triadic
#255B17 #17255B #5B1725
tetradic
#255B17 #17475B #4D175B #5B2B17
square
#255B17 #17475B #4D175B #5B2B17
split-complementary
#255B17 #2B175B #5B1747
monochromatic
#0A1806 #112A0B #255B17 #398C23 #4DBD30

Accessibility & contrast

On white

8.12
#255B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255B17
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B17#FFFFFF#000000##FFFFFF
##255B171.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255b17;
/* rgb */ color: rgb(37, 91, 23);
/* oklch */ color: oklch(41.9% 0.114 139.9);
Tailwind
colors: {
  custom: {
    50: '#668a58',
    500: '#255b17',
    950: '#000000',
  },
}
SCSS
$custom: #255b17;
$custom-light: #668a58;
$custom-dark: #000000;
JSON
{
  "hex": "#255b17",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 107.647,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.11448,
    "h": 139.9
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#255B17
secondary
#803C92
accent
#45E3C2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #255B17

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

Preview Lab → · Contrast checker → · Palette generator →

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