#255A17#255A17

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

Color values

HEX#255A17
RGBrgb(37, 90, 23)
HSLhsl(107, 59%, 22%)
HSVhsv(107, 74%, 35%)
CMYKcmyk(58.9%, 0%, 74.4%, 64.7%)
CIE-LABlab(33.49, -31.47, 31.97)
CIE-LCHlch(33.49, 44.86, 134.55°)
OKLaboklab(41.62% -0.0864 0.073)
OKLCHoklch(41.62% 0.113 139.8)
XYZxyz(4.5736, 7.7671, 2.0686)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A17 #4C175A
analogous
#475A17 #255A17 #175A2B
triadic
#255A17 #17255A #5A1725
tetradic
#255A17 #17475A #4C175A #5A2B17
square
#255A17 #17475A #4C175A #5A2B17
split-complementary
#255A17 #2B175A #5A1747
monochromatic
#0A1806 #11290B #255A17 #398B23 #4DBB30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255A17#FFFFFF#000000##FFFFFF
##255A171.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)
#5D520D
Deuteranopia (green-blind)
#564D1D
Tritanopia (blue-blind)
#1F574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255a17;
/* rgb */ color: rgb(37, 90, 23);
/* oklch */ color: oklch(41.6% 0.113 139.8);
Tailwind
colors: {
  custom: {
    50: '#668958',
    500: '#255a17',
    950: '#000000',
  },
}
SCSS
$custom: #255a17;
$custom-light: #668958;
$custom-dark: #000000;
JSON
{
  "hex": "#255a17",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 107.463,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4162,
    "c": 0.11309,
    "h": 139.8
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#255A17
secondary
#7F3C91
accent
#45E2C2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255A17

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

Preview Lab → · Contrast checker → · Palette generator →

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