#0C2D03#0C2D03

#0C2D03 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.078 H 139.4°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#0C2D03
RGBrgb(12, 45, 3)
HSLhsl(107, 88%, 9%)
HSVhsv(107, 93%, 18%)
CMYKcmyk(73.3%, 0%, 93.3%, 82.4%)
CIE-LABlab(15.28, -21.53, 20.54)
CIE-LCHlch(15.28, 29.75, 136.34°)
OKLaboklab(26.26% -0.0592 0.0507)
OKLCHoklch(26.26% 0.078 139.4)
XYZxyz(1.1064, 1.9614, 0.4064)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D03 #24032D
analogous
#212D03 #0C2D03 #032D0F
triadic
#0C2D03 #030C2D #2D030C
tetradic
#0C2D03 #03212D #24032D #2D0F03
square
#0C2D03 #03212D #24032D #2D0F03
split-complementary
#0C2D03 #0F032D #2D0321
monochromatic
#081D02 #081D02 #0C2D03 #1B6607 #2BA00B

Accessibility & contrast

On white

15.08
#0C2D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D03
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D03#FFFFFF#000000##FFFFFF
##0C2D031.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2B2506
Tritanopia (blue-blind)
#082B25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2d03;
/* rgb */ color: rgb(12, 45, 3);
/* oklch */ color: oklch(26.3% 0.078 139.4);
Tailwind
colors: {
  custom: {
    50: '#4f6648',
    500: '#0c2d03',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d03;
$custom-light: #4f6648;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d03",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 107.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2626,
    "c": 0.07799,
    "h": 139.4
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#0C2D03
secondary
#5E1B71
accent
#2AFED0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2D03

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

Preview Lab → · Contrast checker → · Palette generator →

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