#255B2A#255B2A

#255B2A is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.2% C 0.097 H 145.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#255B2A
RGBrgb(37, 91, 42)
HSLhsl(126, 42%, 25%)
HSVhsv(126, 59%, 36%)
CMYKcmyk(59.3%, 0%, 53.8%, 64.3%)
CIE-LABlab(34.07, -29.46, 22.84)
CIE-LCHlch(34.07, 37.27, 142.21°)
OKLaboklab(42.17% -0.0799 0.0552)
OKLCHoklch(42.17% 0.097 145.3)
XYZxyz(4.9217, 8.0422, 3.4830)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B2A #5B2556
analogous
#3B5B25 #255B2A #255B45
triadic
#255B2A #2A255B #5B2A25
tetradic
#255B2A #253B5B #5B2556 #5B4525
square
#255B2A #253B5B #5B2556 #5B4525
split-complementary
#255B2A #45255B #5B253B
monochromatic
#09160A #132F16 #255B2A #37873E #48B252

Accessibility & contrast

On white

8.05
#255B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#255B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B2A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B2A#FFFFFF#000000##FFFFFF
##255B2A1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5326
Deuteranopia (green-blind)
#554E2D
Tritanopia (blue-blind)
#1B5950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255b2a;
/* rgb */ color: rgb(37, 91, 42);
/* oklch */ color: oklch(42.2% 0.097 145.3);
Tailwind
colors: {
  custom: {
    50: '#658a64',
    500: '#255b2a',
    950: '#000000',
  },
}
SCSS
$custom: #255b2a;
$custom-light: #658a64;
$custom-dark: #000000;
JSON
{
  "hex": "#255b2a",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 42
  },
  "hsl": {
    "h": 125.556,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42166,
    "c": 0.0971,
    "h": 145.3
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#255B2A
secondary
#8E4D88
accent
#56C6D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #255B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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