#255F1B#255F1B

#255F1B is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.1% C 0.117 H 140.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#255F1B
RGBrgb(37, 95, 27)
HSLhsl(111, 56%, 24%)
HSVhsv(111, 72%, 37%)
CMYKcmyk(61.1%, 0%, 71.6%, 62.7%)
CIE-LABlab(35.31, -33.18, 32.08)
CIE-LCHlch(35.31, 46.15, 135.97°)
OKLaboklab(43.13% -0.0907 0.0738)
OKLCHoklch(43.13% 0.117 140.9)
XYZxyz(5.0528, 8.6564, 2.4413)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F1B #551B5F
analogous
#475F1B #255F1B #1B5F33
triadic
#255F1B #1B255F #5F1B25
tetradic
#255F1B #1B475F #551B5F #5F331B
square
#255F1B #1B475F #551B5F #5F331B
split-complementary
#255F1B #331B5F #5F1B47
monochromatic
#091807 #122F0D #255F1B #388F29 #4ABE36

Accessibility & contrast

On white

7.69
#255F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#255F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F1B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F1B#FFFFFF#000000##FFFFFF
##255F1B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625612
Deuteranopia (green-blind)
#5A5121
Tritanopia (blue-blind)
#1D5C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255f1b;
/* rgb */ color: rgb(37, 95, 27);
/* oklch */ color: oklch(43.1% 0.117 140.9);
Tailwind
colors: {
  custom: {
    50: '#678d5b',
    500: '#255f1b',
    950: '#000000',
  },
}
SCSS
$custom: #255f1b;
$custom-light: #678d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#255f1b",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 111.176,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43133,
    "c": 0.11694,
    "h": 140.9
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#255F1B
secondary
#884195
accent
#49DFC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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