#255C2A#255C2A

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

Color values

HEX#255C2A
RGBrgb(37, 92, 42)
HSLhsl(125, 43%, 25%)
HSVhsv(125, 60%, 36%)
CMYKcmyk(59.8%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.43, -29.91, 23.28)
CIE-LCHlch(34.43, 37.90, 142.10°)
OKLaboklab(42.46% -0.0811 0.0562)
OKLCHoklch(42.46% 0.099 145.3)
XYZxyz(5.0077, 8.2143, 3.5117)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C2A #5C2557
analogous
#3B5C25 #255C2A #255C46
triadic
#255C2A #2A255C #5C2A25
tetradic
#255C2A #253B5C #5C2557 #5C4625
square
#255C2A #253B5C #5C2557 #5C4625
split-complementary
#255C2A #46255C #5C253B
monochromatic
#09160A #133016 #255C2A #37883E #48B352

Accessibility & contrast

On white

7.95
#255C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255C2A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C2A#FFFFFF#000000##FFFFFF
##255C2A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255c2a;
/* rgb */ color: rgb(37, 92, 42);
/* oklch */ color: oklch(42.5% 0.099 145.3);
Tailwind
colors: {
  custom: {
    50: '#658b65',
    500: '#255c2a',
    950: '#000000',
  },
}
SCSS
$custom: #255c2a;
$custom-light: #658b65;
$custom-dark: #000000;
JSON
{
  "hex": "#255c2a",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 125.455,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42458,
    "c": 0.09866,
    "h": 145.3
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#255C2A
secondary
#8F4D89
accent
#55C7D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #255C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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