#255E1B#255E1B

#255E1B is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.116 H 140.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#255E1B
RGBrgb(37, 94, 27)
HSLhsl(111, 55%, 24%)
HSVhsv(111, 71%, 37%)
CMYKcmyk(60.6%, 0%, 71.3%, 63.1%)
CIE-LABlab(34.96, -32.76, 31.69)
CIE-LCHlch(34.96, 45.58, 135.95°)
OKLaboklab(42.84% -0.0896 0.073)
OKLCHoklch(42.84% 0.116 140.9)
XYZxyz(4.9633, 8.4774, 2.4115)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255E1B #541B5E
analogous
#465E1B #255E1B #1B5E32
triadic
#255E1B #1B255E #5E1B25
tetradic
#255E1B #1B465E #541B5E #5E321B
square
#255E1B #1B465E #541B5E #5E321B
split-complementary
#255E1B #321B5E #5E1B46
monochromatic
#091807 #122E0D #255E1B #388E29 #4ABD36

Accessibility & contrast

On white

7.79
#255E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#255E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255E1B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255E1B#FFFFFF#000000##FFFFFF
##255E1B1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615512
Deuteranopia (green-blind)
#595021
Tritanopia (blue-blind)
#1E5B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255e1b;
/* rgb */ color: rgb(37, 94, 27);
/* oklch */ color: oklch(42.8% 0.116 140.9);
Tailwind
colors: {
  custom: {
    50: '#678c5b',
    500: '#255e1b',
    950: '#000000',
  },
}
SCSS
$custom: #255e1b;
$custom-light: #678c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#255e1b",
  "rgb": {
    "r": 37,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 111.045,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.11556,
    "h": 140.9
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#255E1B
secondary
#874194
accent
#49DFC8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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