#255D2B#255D2B

#255D2B is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.099 H 145.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#255D2B
RGBrgb(37, 93, 43)
HSLhsl(126, 43%, 25%)
HSVhsv(126, 60%, 36%)
CMYKcmyk(60.2%, 0%, 53.8%, 63.5%)
CIE-LABlab(34.79, -30.19, 23.17)
CIE-LCHlch(34.79, 38.06, 142.50°)
OKLaboklab(42.77% -0.0818 0.056)
OKLCHoklch(42.77% 0.099 145.6)
XYZxyz(5.1130, 8.3960, 3.6362)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255D2B #5D2557
analogous
#3B5D25 #255D2B #255D47
triadic
#255D2B #2B255D #5D2B25
tetradic
#255D2B #253B5D #5D2557 #5D4725
square
#255D2B #253B5D #5D2557 #5D4725
split-complementary
#255D2B #47255D #5D253B
monochromatic
#09160A #143117 #255D2B #36893F #48B553

Accessibility & contrast

On white

7.84
#255D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#255D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255D2B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255D2B#FFFFFF#000000##FFFFFF
##255D2B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5527
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#1A5B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255d2b;
/* rgb */ color: rgb(37, 93, 43);
/* oklch */ color: oklch(42.8% 0.099 145.6);
Tailwind
colors: {
  custom: {
    50: '#668b65',
    500: '#255d2b',
    950: '#000000',
  },
}
SCSS
$custom: #255d2b;
$custom-light: #668b65;
$custom-dark: #000000;
JSON
{
  "hex": "#255d2b",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 43
  },
  "hsl": {
    "h": 126.429,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.09915,
    "h": 145.6
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#255D2B
secondary
#904D89
accent
#55C5D3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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