#255A32#255A32

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

Color values

HEX#255A32
RGBrgb(37, 90, 50)
HSLhsl(135, 42%, 25%)
HSVhsv(135, 59%, 35%)
CMYKcmyk(58.9%, 0%, 44.4%, 64.7%)
CIE-LABlab(33.85, -27.58, 17.91)
CIE-LCHlch(33.85, 32.89, 147.00°)
OKLaboklab(42.03% -0.0747 0.0443)
OKLCHoklch(42.03% 0.087 149.3)
XYZxyz(4.9945, 7.9355, 4.2855)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A32 #5A254D
analogous
#335A25 #255A32 #255A4D
triadic
#255A32 #32255A #5A3225
tetradic
#255A32 #25335A #5A254D #5A4D25
square
#255A32 #25335A #5A254D #5A4D25
split-complementary
#255A32 #4D255A #5A2533
monochromatic
#09160C #132F1A #255A32 #37854A #49B162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255A32#FFFFFF#000000##FFFFFF
##255A321.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)
#5B532F
Deuteranopia (green-blind)
#534E35
Tritanopia (blue-blind)
#195850
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255a32;
/* rgb */ color: rgb(37, 90, 50);
/* oklch */ color: oklch(42.0% 0.087 149.3);
Tailwind
colors: {
  custom: {
    50: '#65896a',
    500: '#255a32',
    950: '#000000',
  },
}
SCSS
$custom: #255a32;
$custom-light: #65896a;
$custom-dark: #000000;
JSON
{
  "hex": "#255a32",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 50
  },
  "hsl": {
    "h": 134.717,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.08689,
    "h": 149.3
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#255A32
secondary
#8D4D7E
accent
#56B3D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #255A32

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

Preview Lab → · Contrast checker → · Palette generator →

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