#255912#255912

#255912 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.115 H 138.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#255912
RGBrgb(37, 89, 18)
HSLhsl(104, 66%, 21%)
HSVhsv(104, 80%, 35%)
CMYKcmyk(58.4%, 0%, 79.8%, 65.1%)
CIE-LABlab(33.10, -31.49, 33.69)
CIE-LCHlch(33.10, 46.11, 133.07°)
OKLaboklab(41.28% -0.0868 0.0758)
OKLCHoklch(41.28% 0.115 138.9)
XYZxyz(4.4443, 7.5814, 1.8013)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255912 #461259
analogous
#485912 #255912 #125922
triadic
#255912 #122559 #591225
tetradic
#255912 #124859 #461259 #592212
square
#255912 #124859 #461259 #592212
split-complementary
#255912 #221259 #591248
monochromatic
#0B1905 #102608 #255912 #3A8C1C #4FBF27

Accessibility & contrast

On white

8.35
#255912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#255912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255912
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255912#FFFFFF#000000##FFFFFF
##2559121.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#20564B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #255912;
/* rgb */ color: rgb(37, 89, 18);
/* oklch */ color: oklch(41.3% 0.115 138.9);
Tailwind
colors: {
  custom: {
    50: '#668855',
    500: '#255912',
    950: '#000000',
  },
}
SCSS
$custom: #255912;
$custom-light: #668855;
$custom-dark: #000000;
JSON
{
  "hex": "#255912",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 103.944,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.11524,
    "h": 138.9
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#255912
secondary
#793592
accent
#3FE9BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255912

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

Preview Lab → · Contrast checker → · Palette generator →

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