#0E2F12#0E2F12

#0E2F12 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.2% C 0.064 H 145.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#0E2F12
RGBrgb(14, 47, 18)
HSLhsl(127, 54%, 12%)
HSVhsv(127, 70%, 18%)
CMYKcmyk(70.2%, 0%, 61.7%, 81.6%)
CIE-LABlab(16.35, -19.68, 15.01)
CIE-LCHlch(16.35, 24.75, 142.67°)
OKLaboklab(27.23% -0.0533 0.0362)
OKLCHoklch(27.23% 0.064 145.8)
XYZxyz(1.3067, 2.1699, 0.9221)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2F12 #2F0E2B
analogous
#1B2F0E #0E2F12 #0E2F23
triadic
#0E2F12 #120E2F #2F120E
tetradic
#0E2F12 #0E1B2F #2F0E2B #2F230E
square
#0E2F12 #0E1B2F #2F0E2B #2F230E
split-complementary
#0E2F12 #230E2F #2F0E1B
monochromatic
#071809 #071809 #0E2F12 #1C5E24 #2A8D36

Accessibility & contrast

On white

14.64
#0E2F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0E2F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2F12
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2F12#FFFFFF#000000##FFFFFF
##0E2F121.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#2C2714
Tritanopia (blue-blind)
#072E28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e2f12;
/* rgb */ color: rgb(14, 47, 18);
/* oklch */ color: oklch(27.2% 0.064 145.8);
Tailwind
colors: {
  custom: {
    50: '#516850',
    500: '#0e2f12',
    950: '#000000',
  },
}
SCSS
$custom: #0e2f12;
$custom-light: #516850;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2f12",
  "rgb": {
    "r": 14,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 127.273,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27227,
    "c": 0.06445,
    "h": 145.8
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#0E2F12
secondary
#692F62
accent
#4ACCDD
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0E2F12

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

Preview Lab → · Contrast checker → · Palette generator →

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