#255A2A#255A2A

#255A2A is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.096 H 145.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#255A2A
RGBrgb(37, 90, 42)
HSLhsl(126, 42%, 25%)
HSVhsv(126, 59%, 35%)
CMYKcmyk(58.9%, 0%, 53.3%, 64.7%)
CIE-LABlab(33.72, -29.01, 22.40)
CIE-LCHlch(33.72, 36.65, 142.32°)
OKLaboklab(41.88% -0.0787 0.0542)
OKLCHoklch(41.88% 0.096 145.4)
XYZxyz(4.8367, 7.8724, 3.4547)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A2A #5A2555
analogous
#3B5A25 #255A2A #255A44
triadic
#255A2A #2A255A #5A2A25
tetradic
#255A2A #253B5A #5A2555 #5A4425
square
#255A2A #253B5A #5A2555 #5A4425
split-complementary
#255A2A #44255A #5A253B
monochromatic
#09160A #132F16 #255A2A #37853E #49B152

Accessibility & contrast

On white

8.16
#255A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#255A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255A2A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255A2A#FFFFFF#000000##FFFFFF
##255A2A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5226
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#1B584F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255a2a;
/* rgb */ color: rgb(37, 90, 42);
/* oklch */ color: oklch(41.9% 0.096 145.4);
Tailwind
colors: {
  custom: {
    50: '#658964',
    500: '#255a2a',
    950: '#000000',
  },
}
SCSS
$custom: #255a2a;
$custom-light: #658964;
$custom-dark: #000000;
JSON
{
  "hex": "#255a2a",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 42
  },
  "hsl": {
    "h": 125.66,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.09554,
    "h": 145.4
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#255A2A
secondary
#8D4D87
accent
#56C6D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B05
muted
#7A7C7A

Preview Lab

Preview with #255A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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