#255C2B#255C2B

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

Color values

HEX#255C2B
RGBrgb(37, 92, 43)
HSLhsl(127, 43%, 25%)
HSVhsv(127, 60%, 36%)
CMYKcmyk(59.8%, 0%, 53.3%, 63.9%)
CIE-LABlab(34.44, -29.75, 22.73)
CIE-LCHlch(34.44, 37.44, 142.61°)
OKLaboklab(42.48% -0.0806 0.055)
OKLCHoklch(42.48% 0.098 145.7)
XYZxyz(5.0258, 8.2216, 3.6071)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C2B #5C2556
analogous
#3B5C25 #255C2B #255C46
triadic
#255C2B #2B255C #5C2B25
tetradic
#255C2B #253B5C #5C2556 #5C4625
square
#255C2B #253B5C #5C2556 #5C4625
split-complementary
#255C2B #46255C #5C253B
monochromatic
#09160A #133017 #255C2B #37883F #48B354

Accessibility & contrast

On white

7.94
#255C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255C2B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C2B#FFFFFF#000000##FFFFFF
##255C2B1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5427
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#1B5A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255c2b;
/* rgb */ color: rgb(37, 92, 43);
/* oklch */ color: oklch(42.5% 0.098 145.7);
Tailwind
colors: {
  custom: {
    50: '#658b65',
    500: '#255c2b',
    950: '#000000',
  },
}
SCSS
$custom: #255c2b;
$custom-light: #658b65;
$custom-dark: #000000;
JSON
{
  "hex": "#255c2b",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 43
  },
  "hsl": {
    "h": 126.545,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.09761,
    "h": 145.7
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#255C2B
secondary
#8F4D88
accent
#55C5D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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