#0C2F03#0C2F03

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

Color values

HEX#0C2F03
RGBrgb(12, 47, 3)
HSLhsl(108, 88%, 10%)
HSVhsv(108, 94%, 18%)
CMYKcmyk(74.5%, 0%, 93.6%, 81.6%)
CIE-LABlab(16.09, -22.41, 21.56)
CIE-LCHlch(16.09, 31.10, 136.11°)
OKLaboklab(26.93% -0.0616 0.0523)
OKLCHoklch(26.93% 0.081 139.7)
XYZxyz(1.1845, 2.1177, 0.4325)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F03 #26032F
analogous
#222F03 #0C2F03 #032F10
triadic
#0C2F03 #030C2F #2F030C
tetradic
#0C2F03 #03222F #26032F #2F1003
square
#0C2F03 #03222F #26032F #2F1003
split-complementary
#0C2F03 #10032F #2F0322
monochromatic
#071D02 #071D02 #0C2F03 #1B6907 #29A20A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C2F03#FFFFFF#000000##FFFFFF
##0C2F031.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)
#2C2707
Tritanopia (blue-blind)
#072D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f03;
/* rgb */ color: rgb(12, 47, 3);
/* oklch */ color: oklch(26.9% 0.081 139.7);
Tailwind
colors: {
  custom: {
    50: '#506848',
    500: '#0c2f03',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f03;
$custom-light: #506848;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f03",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 107.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2693,
    "c": 0.08081,
    "h": 139.7
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#0C2F03
secondary
#611B73
accent
#2AFED3
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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