#255B3A#255B3A

#255B3A is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.5% C 0.080 H 154.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#255B3A
RGBrgb(37, 91, 58)
HSLhsl(143, 42%, 25%)
HSVhsv(143, 59%, 36%)
CMYKcmyk(59.3%, 0%, 36.3%, 64.3%)
CIE-LABlab(34.36, -26.42, 13.78)
CIE-LCHlch(34.36, 29.80, 152.46°)
OKLaboklab(42.49% -0.0719 0.0347)
OKLCHoklch(42.49% 0.08 154.2)
XYZxyz(5.2673, 8.1805, 5.3036)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B3A #5B2546
analogous
#2B5B25 #255B3A #255B55
triadic
#255B3A #3A255B #5B3A25
tetradic
#255B3A #252B5B #5B2546 #5B5525
square
#255B3A #252B5B #5B2546 #5B5525
split-complementary
#255B3A #55255B #5B252B
monochromatic
#09160E #132F1E #255B3A #378756 #48B271

Accessibility & contrast

On white

7.97
#255B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#255B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B3A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B3A#FFFFFF#000000##FFFFFF
##255B3A1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5438
Deuteranopia (green-blind)
#534F3C
Tritanopia (blue-blind)
#155A52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255b3a;
/* rgb */ color: rgb(37, 91, 58);
/* oklch */ color: oklch(42.5% 0.080 154.2);
Tailwind
colors: {
  custom: {
    50: '#658a70',
    500: '#255b3a',
    950: '#000000',
  },
}
SCSS
$custom: #255b3a;
$custom-light: #658a70;
$custom-dark: #000000;
JSON
{
  "hex": "#255b3a",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 58
  },
  "hsl": {
    "h": 143.333,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.0798,
    "h": 154.2
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#255B3A
secondary
#8E4D75
accent
#56A2D2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #255B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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