#0E310F#0E310F

#0E310F is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.8% C 0.071 H 143.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#0E310F
RGBrgb(14, 49, 15)
HSLhsl(122, 56%, 12%)
HSVhsv(122, 71%, 19%)
CMYKcmyk(71.4%, 0%, 69.4%, 80.8%)
CIE-LABlab(17.11, -21.14, 17.64)
CIE-LCHlch(17.11, 27.54, 140.16°)
OKLaboklab(27.83% -0.0574 0.042)
OKLCHoklch(27.83% 0.071 143.8)
XYZxyz(1.3656, 2.3244, 0.8285)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E310F #310E30
analogous
#1F310E #0E310F #0E3120
triadic
#0E310F #0F0E31 #310F0E
tetradic
#0E310F #0E1F31 #310E30 #31200E
square
#0E310F #0E1F31 #310E30 #31200E
split-complementary
#0E310F #200E31 #310E1F
monochromatic
#071807 #071807 #0E310F #1C611E #29902C

Accessibility & contrast

On white

14.34
#0E310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0E310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E310F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E310F#FFFFFF#000000##FFFFFF
##0E310F1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2E2912
Tritanopia (blue-blind)
#082F2A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e310f;
/* rgb */ color: rgb(14, 49, 15);
/* oklch */ color: oklch(27.8% 0.071 143.8);
Tailwind
colors: {
  custom: {
    50: '#51694e',
    500: '#0e310f',
    950: '#000000',
  },
}
SCSS
$custom: #0e310f;
$custom-light: #51694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0e310f",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 121.714,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2783,
    "c": 0.07108,
    "h": 143.8
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#0E310F
secondary
#6C2F6A
accent
#49DBDF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0E310F

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

Preview Lab → · Contrast checker → · Palette generator →

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