#0E2F0C#0E2F0C

#0E2F0C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.1% C 0.071 H 142.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#0E2F0C
RGBrgb(14, 47, 12)
HSLhsl(117, 59%, 12%)
HSVhsv(117, 74%, 18%)
CMYKcmyk(70.2%, 0%, 74.5%, 81.6%)
CIE-LABlab(16.27, -20.64, 18.09)
CIE-LCHlch(16.27, 27.44, 138.77°)
OKLaboklab(27.13% -0.0562 0.0433)
OKLCHoklch(27.13% 0.071 142.4)
XYZxyz(1.2639, 2.1528, 0.6967)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2F0C #2D0C2F
analogous
#202F0C #0E2F0C #0C2F1C
triadic
#0E2F0C #0C0E2F #2F0C0E
tetradic
#0E2F0C #0C202F #2D0C2F #2F1C0C
square
#0E2F0C #0C202F #2D0C2F #2F1C0C
split-complementary
#0E2F0C #1C0C2F #2F0C20
monochromatic
#071806 #071806 #0E2F0C #1D6018 #2B9125

Accessibility & contrast

On white

14.68
#0E2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2F0C
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2F0C#FFFFFF#000000##FFFFFF
##0E2F0C1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#092D28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e2f0c;
/* rgb */ color: rgb(14, 47, 12);
/* oklch */ color: oklch(27.1% 0.071 142.4);
Tailwind
colors: {
  custom: {
    50: '#51684c',
    500: '#0e2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #0e2f0c;
$custom-light: #51684c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2f0c",
  "rgb": {
    "r": 14,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 116.571,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27129,
    "c": 0.07092,
    "h": 142.4
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#0E2F0C
secondary
#672C6B
accent
#45E3DA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0E2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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