#0C2F0E#0C2F0E

#0C2F0E is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.1% C 0.070 H 144.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#0C2F0E
RGBrgb(12, 47, 14)
HSLhsl(123, 59%, 12%)
HSVhsv(123, 74%, 18%)
CMYKcmyk(74.5%, 0%, 70.2%, 81.6%)
CIE-LABlab(16.22, -20.94, 17.05)
CIE-LCHlch(16.22, 27.00, 140.85°)
OKLaboklab(27.08% -0.0568 0.0409)
OKLCHoklch(27.08% 0.07 144.3)
XYZxyz(1.2473, 2.1428, 0.7632)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F0E #2F0C2D
analogous
#1C2F0C #0C2F0E #0C2F20
triadic
#0C2F0E #0E0C2F #2F0E0C
tetradic
#0C2F0E #0C1C2F #2F0C2D #2F200C
square
#0C2F0E #0C1C2F #2F0C2D #2F200C
split-complementary
#0C2F0E #200C2F #2F0C1C
monochromatic
#061807 #061807 #0C2F0E #18601D #25912B

Accessibility & contrast

On white

14.70
#0C2F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F0E
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F0E#FFFFFF#000000##FFFFFF
##0C2F0E1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0B
Deuteranopia (green-blind)
#2C2711
Tritanopia (blue-blind)
#052E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f0e;
/* rgb */ color: rgb(12, 47, 14);
/* oklch */ color: oklch(27.1% 0.070 144.3);
Tailwind
colors: {
  custom: {
    50: '#50684e',
    500: '#0c2f0e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f0e;
$custom-light: #50684e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f0e",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 123.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27075,
    "c": 0.06994,
    "h": 144.3
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#0C2F0E
secondary
#6B2C67
accent
#45DAE3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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