#0C2F04#0C2F04

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

Color values

HEX#0C2F04
RGBrgb(12, 47, 4)
HSLhsl(109, 84%, 10%)
HSVhsv(109, 91%, 18%)
CMYKcmyk(74.5%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.10, -22.28, 21.17)
CIE-LCHlch(16.10, 30.73, 136.46°)
OKLaboklab(26.94% -0.0611 0.0512)
OKLCHoklch(26.94% 0.08 140.1)
XYZxyz(1.1900, 2.1198, 0.4613)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F04 #27042F
analogous
#222F04 #0C2F04 #042F11
triadic
#0C2F04 #040C2F #2F040C
tetradic
#0C2F04 #04222F #27042F #2F1104
square
#0C2F04 #04222F #27042F #2F1104
split-complementary
#0C2F04 #11042F #2F0422
monochromatic
#071C02 #071C02 #0C2F04 #1A6709 #29A00E

Accessibility & contrast

On white

14.75
#0C2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F04
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F04#FFFFFF#000000##FFFFFF
##0C2F041.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2C2708
Tritanopia (blue-blind)
#072D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f04;
/* rgb */ color: rgb(12, 47, 4);
/* oklch */ color: oklch(26.9% 0.080 140.1);
Tailwind
colors: {
  custom: {
    50: '#506849',
    500: '#0c2f04',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f04;
$custom-light: #506849;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f04",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 108.837,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.26942,
    "c": 0.07976,
    "h": 140.1
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#0C2F04
secondary
#621D72
accent
#2DFBD4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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