#255C1B#255C1B

#255C1B is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.113 H 140.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#255C1B
RGBrgb(37, 92, 27)
HSLhsl(111, 55%, 23%)
HSVhsv(111, 71%, 36%)
CMYKcmyk(59.8%, 0%, 70.7%, 63.9%)
CIE-LABlab(34.24, -31.91, 30.92)
CIE-LCHlch(34.24, 44.44, 135.91°)
OKLaboklab(42.25% -0.0873 0.0713)
OKLCHoklch(42.25% 0.113 140.8)
XYZxyz(4.7877, 8.1263, 2.3529)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C1B #521B5C
analogous
#455C1B #255C1B #1B5C31
triadic
#255C1B #1B255C #5C1B25
tetradic
#255C1B #1B455C #521B5C #5C311B
square
#255C1B #1B455C #521B5C #5C311B
split-complementary
#255C1B #311B5C #5C1B45
monochromatic
#0A1807 #122D0D #255C1B #388B29 #4BBB37

Accessibility & contrast

On white

8.00
#255C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#255C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255C1B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C1B#FFFFFF#000000##FFFFFF
##255C1B1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5313
Deuteranopia (green-blind)
#574F21
Tritanopia (blue-blind)
#1E594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255c1b;
/* rgb */ color: rgb(37, 92, 27);
/* oklch */ color: oklch(42.3% 0.113 140.8);
Tailwind
colors: {
  custom: {
    50: '#668b5b',
    500: '#255c1b',
    950: '#000000',
  },
}
SCSS
$custom: #255c1b;
$custom-light: #668b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#255c1b",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 27
  },
  "hsl": {
    "h": 110.769,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.11275,
    "h": 140.8
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#255C1B
secondary
#854192
accent
#4ADEC7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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