#255F2B#255F2B

#255F2B is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.102 H 145.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#255F2B
RGBrgb(37, 95, 43)
HSLhsl(126, 44%, 26%)
HSVhsv(126, 61%, 37%)
CMYKcmyk(61.1%, 0%, 54.7%, 62.7%)
CIE-LABlab(35.50, -31.08, 24.04)
CIE-LCHlch(35.50, 39.29, 142.27°)
OKLaboklab(43.35% -0.0842 0.058)
OKLCHoklch(43.35% 0.102 145.5)
XYZxyz(5.2909, 8.7517, 3.6955)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F2B #5F2559
analogous
#3C5F25 #255F2B #255F48
triadic
#255F2B #2B255F #5F2B25
tetradic
#255F2B #253C5F #5F2559 #5F4825
square
#255F2B #253C5F #5F2559 #5F4825
split-complementary
#255F2B #48255F #5F253C
monochromatic
#09160A #143317 #255F2B #368B3F #47B753

Accessibility & contrast

On white

7.64
#255F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#255F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F2B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F2B#FFFFFF#000000##FFFFFF
##255F2B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615727
Deuteranopia (green-blind)
#59512F
Tritanopia (blue-blind)
#1A5D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255f2b;
/* rgb */ color: rgb(37, 95, 43);
/* oklch */ color: oklch(43.3% 0.102 145.5);
Tailwind
colors: {
  custom: {
    50: '#668d65',
    500: '#255f2b',
    950: '#000000',
  },
}
SCSS
$custom: #255f2b;
$custom-light: #668d65;
$custom-dark: #000000;
JSON
{
  "hex": "#255f2b",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 126.207,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43348,
    "c": 0.10223,
    "h": 145.5
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#255F2B
secondary
#924D8B
accent
#54C6D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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