#255B1B#255B1B

#255B1B is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.111 H 140.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#255B1B
RGBrgb(37, 91, 27)
HSLhsl(111, 54%, 23%)
HSVhsv(111, 70%, 36%)
CMYKcmyk(59.3%, 0%, 70.3%, 64.3%)
CIE-LABlab(33.89, -31.49, 30.53)
CIE-LCHlch(33.89, 43.86, 135.88°)
OKLaboklab(41.96% -0.0862 0.0705)
OKLCHoklch(41.96% 0.111 140.7)
XYZxyz(4.7017, 7.9542, 2.3243)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B1B #511B5B
analogous
#455B1B #255B1B #1B5B31
triadic
#255B1B #1B255B #5B1B25
tetradic
#255B1B #1B455B #511B5B #5B311B
square
#255B1B #1B455B #511B5B #5B311B
split-complementary
#255B1B #311B5B #5B1B45
monochromatic
#0A1807 #122C0D #255B1B #388A29 #4BB937

Accessibility & contrast

On white

8.10
#255B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#255B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B1B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B1B#FFFFFF#000000##FFFFFF
##255B1B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5313
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#1E584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255b1b;
/* rgb */ color: rgb(37, 91, 27);
/* oklch */ color: oklch(42.0% 0.111 140.7);
Tailwind
colors: {
  custom: {
    50: '#668a5b',
    500: '#255b1b',
    950: '#000000',
  },
}
SCSS
$custom: #255b1b;
$custom-light: #668a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#255b1b",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 110.625,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41956,
    "c": 0.11134,
    "h": 140.7
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #255B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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