#255D2A#255D2A

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

Color values

HEX#255D2A
RGBrgb(37, 93, 42)
HSLhsl(125, 43%, 25%)
HSVhsv(125, 60%, 36%)
CMYKcmyk(60.2%, 0%, 54.8%, 63.5%)
CIE-LABlab(34.78, -30.35, 23.71)
CIE-LCHlch(34.78, 38.52, 142.00°)
OKLaboklab(42.75% -0.0823 0.0572)
OKLCHoklch(42.75% 0.1 145.2)
XYZxyz(5.0949, 8.3887, 3.5407)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255D2A #5D2558
analogous
#3C5D25 #255D2A #255D46
triadic
#255D2A #2A255D #5D2A25
tetradic
#255D2A #253C5D #5D2558 #5D4625
square
#255D2A #253C5D #5D2558 #5D4625
split-complementary
#255D2A #46255D #5D253C
monochromatic
#09160A #143116 #255D2A #36893E #48B552

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255D2A#FFFFFF#000000##FFFFFF
##255D2A1.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)
#5F5526
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#1B5B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255d2a;
/* rgb */ color: rgb(37, 93, 42);
/* oklch */ color: oklch(42.7% 0.100 145.2);
Tailwind
colors: {
  custom: {
    50: '#668b65',
    500: '#255d2a',
    950: '#000000',
  },
}
SCSS
$custom: #255d2a;
$custom-light: #668b65;
$custom-dark: #000000;
JSON
{
  "hex": "#255d2a",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 42
  },
  "hsl": {
    "h": 125.357,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.10019,
    "h": 145.2
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#255D2A
secondary
#904D8A
accent
#55C8D3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #255D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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