#0C3002#0C3002

#0C3002 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.3% C 0.083 H 139.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#0C3002
RGBrgb(12, 48, 2)
HSLhsl(107, 92%, 10%)
HSVhsv(107, 96%, 19%)
CMYKcmyk(75%, 0%, 95.8%, 81.2%)
CIE-LABlab(16.49, -22.97, 22.46)
CIE-LCHlch(16.49, 32.12, 135.65°)
OKLaboklab(27.25% -0.0632 0.0541)
OKLCHoklch(27.25% 0.083 139.4)
XYZxyz(1.2195, 2.1963, 0.4171)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3002 #260230
analogous
#233002 #0C3002 #02300F
triadic
#0C3002 #020C30 #30020C
tetradic
#0C3002 #022330 #260230 #300F02
square
#0C3002 #022330 #260230 #300F02
split-complementary
#0C3002 #0F0230 #300223
monochromatic
#071D01 #071D01 #0C3002 #1B6B04 #29A607

Accessibility & contrast

On white

14.59
#0C3002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C3002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3002
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3002#FFFFFF#000000##FFFFFF
##0C30021.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2D2806
Tritanopia (blue-blind)
#072E27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c3002;
/* rgb */ color: rgb(12, 48, 2);
/* oklch */ color: oklch(27.3% 0.083 139.4);
Tailwind
colors: {
  custom: {
    50: '#506948',
    500: '#0c3002',
    950: '#000000',
  },
}
SCSS
$custom: #0c3002;
$custom-light: #506948;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3002",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 106.957,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27251,
    "c": 0.08325,
    "h": 139.4
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#0C3002
secondary
#611975
accent
#29FFD0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C3002

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

Preview Lab → · Contrast checker → · Palette generator →

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