#0E5212#0E5212

#0E5212 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.4% C 0.116 H 143.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#0E5212
RGBrgb(14, 82, 18)
HSLhsl(124, 71%, 19%)
HSVhsv(124, 83%, 32%)
CMYKcmyk(82.9%, 0%, 78%, 67.8%)
CIE-LABlab(29.84, -34.35, 30.16)
CIE-LCHlch(29.84, 45.71, 138.72°)
OKLaboklab(38.39% -0.093 0.0687)
OKLCHoklch(38.39% 0.116 143.6)
XYZxyz(3.3074, 6.1712, 1.5890)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E5212 #520E4E
analogous
#2C520E #0E5212 #0E5234
triadic
#0E5212 #120E52 #52120E
tetradic
#0E5212 #0E2C52 #520E4E #52340E
square
#0E5212 #0E2C52 #520E4E #52340E
split-complementary
#0E5212 #340E52 #520E2C
monochromatic
#041A06 #051E07 #0E5212 #17861D #20BB29

Accessibility & contrast

On white

9.40
#0E5212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0E5212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E5212
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E5212#FFFFFF#000000##FFFFFF
##0E52121.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544908
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0e5212;
/* rgb */ color: rgb(14, 82, 18);
/* oklch */ color: oklch(38.4% 0.116 143.6);
Tailwind
colors: {
  custom: {
    50: '#5a8354',
    500: '#0e5212',
    950: '#000000',
  },
}
SCSS
$custom: #0e5212;
$custom-light: #5a8354;
$custom-dark: #000000;
JSON
{
  "hex": "#0e5212",
  "rgb": {
    "r": 14,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 123.529,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3839,
    "c": 0.11563,
    "h": 143.6
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#0E5212
secondary
#8C2F87
accent
#3AE3EE
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78

Preview Lab

Preview with #0E5212

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

Preview Lab → · Contrast checker → · Palette generator →

#0E5212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva