#255D1B#255D1B

#255D1B is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.114 H 140.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#255D1B
RGBrgb(37, 93, 27)
HSLhsl(111, 55%, 24%)
HSVhsv(111, 71%, 36%)
CMYKcmyk(60.2%, 0%, 71%, 63.5%)
CIE-LABlab(34.60, -32.34, 31.31)
CIE-LCHlch(34.60, 45.01, 135.93°)
OKLaboklab(42.55% -0.0885 0.0721)
OKLCHoklch(42.55% 0.114 140.8)
XYZxyz(4.8749, 8.3007, 2.3820)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255D1B #531B5D
analogous
#465D1B #255D1B #1B5D32
triadic
#255D1B #1B255D #5D1B25
tetradic
#255D1B #1B465D #531B5D #5D321B
square
#255D1B #1B465D #531B5D #5D321B
split-complementary
#255D1B #321B5D #5D1B46
monochromatic
#091807 #122E0D #255D1B #388C29 #4BBC37

Accessibility & contrast

On white

7.89
#255D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#255D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255D1B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255D1B#FFFFFF#000000##FFFFFF
##255D1B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605412
Deuteranopia (green-blind)
#585021
Tritanopia (blue-blind)
#1E5A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255d1b;
/* rgb */ color: rgb(37, 93, 27);
/* oklch */ color: oklch(42.5% 0.114 140.8);
Tailwind
colors: {
  custom: {
    50: '#668b5b',
    500: '#255d1b',
    950: '#000000',
  },
}
SCSS
$custom: #255d1b;
$custom-light: #668b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#255d1b",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 27
  },
  "hsl": {
    "h": 110.909,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42545,
    "c": 0.11416,
    "h": 140.8
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#255D1B
secondary
#864193
accent
#49DEC8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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