#0F2E12#0F2E12

#0F2E12 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.062 H 145.4°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#0F2E12
RGBrgb(15, 46, 18)
HSLhsl(126, 51%, 12%)
HSVhsv(126, 67%, 18%)
CMYKcmyk(67.4%, 0%, 60.9%, 82%)
CIE-LABlab(16.00, -18.87, 14.57)
CIE-LCHlch(16.00, 23.84, 142.33°)
OKLaboklab(26.95% -0.0512 0.0353)
OKLCHoklch(26.95% 0.062 145.4)
XYZxyz(1.2831, 2.0991, 0.9097)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E12 #2E0F2B
analogous
#1C2E0F #0F2E12 #0F2E22
triadic
#0F2E12 #120F2E #2E120F
tetradic
#0F2E12 #0F1C2E #2E0F2B #2E220F
square
#0F2E12 #0F1C2E #2E0F2B #2E220F
split-complementary
#0F2E12 #220F2E #2E0F1C
monochromatic
#081709 #081709 #0F2E12 #1E5C24 #2D8A36

Accessibility & contrast

On white

14.79
#0F2E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E12
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E12#FFFFFF#000000##FFFFFF
##0F2E121.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2910
Deuteranopia (green-blind)
#2B2714
Tritanopia (blue-blind)
#092D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2e12;
/* rgb */ color: rgb(15, 46, 18);
/* oklch */ color: oklch(26.9% 0.062 145.4);
Tailwind
colors: {
  custom: {
    50: '#516750',
    500: '#0f2e12',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e12;
$custom-light: #516750;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e12",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 125.806,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.26946,
    "c": 0.06215,
    "h": 145.4
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#0F2E12
secondary
#683162
accent
#4DCDDA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0F2E12

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

Preview Lab → · Contrast checker → · Palette generator →

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