#255812#255812

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

Color values

HEX#255812
RGBrgb(37, 88, 18)
HSLhsl(104, 66%, 21%)
HSVhsv(104, 80%, 35%)
CMYKcmyk(58%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.74, -31.06, 33.33)
CIE-LCHlch(32.74, 45.56, 132.98°)
OKLaboklab(40.98% -0.0856 0.0751)
OKLCHoklch(40.98% 0.114 138.8)
XYZxyz(4.3617, 7.4161, 1.7738)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255812 #451258
analogous
#485812 #255812 #125822
triadic
#255812 #122558 #581225
tetradic
#255812 #124858 #451258 #582212
square
#255812 #124858 #451258 #582212
split-complementary
#255812 #221258 #581248
monochromatic
#0B1905 #102508 #255812 #3A8B1C #50BE27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255812#FFFFFF#000000##FFFFFF
##2558121.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)
#5B5005
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#20554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #255812;
/* rgb */ color: rgb(37, 88, 18);
/* oklch */ color: oklch(41.0% 0.114 138.8);
Tailwind
colors: {
  custom: {
    50: '#668855',
    500: '#255812',
    950: '#000000',
  },
}
SCSS
$custom: #255812;
$custom-light: #668855;
$custom-dark: #000000;
JSON
{
  "hex": "#255812",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 103.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.11388,
    "h": 138.8
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#255812
secondary
#783591
accent
#3FE9BB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255812

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

Preview Lab → · Contrast checker → · Palette generator →

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