#255811#255811

#255811 is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.0% C 0.115 H 138.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#255811
RGBrgb(37, 88, 17)
HSLhsl(103, 68%, 21%)
HSVhsv(103, 81%, 35%)
CMYKcmyk(58%, 0%, 80.7%, 65.5%)
CIE-LABlab(32.73, -31.14, 33.72)
CIE-LCHlch(32.73, 45.90, 132.72°)
OKLaboklab(40.98% -0.0859 0.0757)
OKLCHoklch(40.98% 0.115 138.6)
XYZxyz(4.3537, 7.4129, 1.7316)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255811 #441158
analogous
#485811 #255811 #115821
triadic
#255811 #112558 #581125
tetradic
#255811 #114858 #441158 #582111
square
#255811 #114858 #441158 #582111
split-complementary
#255811 #211158 #581148
monochromatic
#0B1A05 #0F2507 #255811 #3B8B1B #50BF25

Accessibility & contrast

On white

8.46
#255811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#255811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255811
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255811#FFFFFF#000000##FFFFFF
##2558111.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5004
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#20554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #255811;
/* rgb */ color: rgb(37, 88, 17);
/* oklch */ color: oklch(41.0% 0.115 138.6);
Tailwind
colors: {
  custom: {
    50: '#668855',
    500: '#255811',
    950: '#000000',
  },
}
SCSS
$custom: #255811;
$custom-light: #668855;
$custom-dark: #000000;
JSON
{
  "hex": "#255811",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 103.099,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.11453,
    "h": 138.6
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#255811
secondary
#773491
accent
#3DEABA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255811

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

Preview Lab → · Contrast checker → · Palette generator →

#255811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva