#0C2602#0C2602

#0C2602 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.9% C 0.069 H 137.7°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#0C2602
RGBrgb(12, 38, 2)
HSLhsl(103, 90%, 8%)
HSVhsv(103, 95%, 15%)
CMYKcmyk(68.4%, 0%, 94.7%, 85.1%)
CIE-LABlab(12.41, -18.43, 17.16)
CIE-LCHlch(12.41, 25.18, 137.04°)
OKLaboklab(23.88% -0.0511 0.0465)
OKLCHoklch(23.88% 0.069 137.7)
XYZxyz(0.8557, 1.4687, 0.2958)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2602 #1C0226
analogous
#1E2602 #0C2602 #02260A
triadic
#0C2602 #020C26 #26020C
tetradic
#0C2602 #021E26 #1C0226 #260A02
square
#0C2602 #021E26 #1C0226 #260A02
split-complementary
#0C2602 #0A0226 #26021E
monochromatic
#091D02 #091D02 #0C2602 #1E6005 #319A08

Accessibility & contrast

On white

16.23
#0C2602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0C2602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2602
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2602#FFFFFF#000000##FFFFFF
##0C26021.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#242005
Tritanopia (blue-blind)
#0A241F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c2602;
/* rgb */ color: rgb(12, 38, 2);
/* oklch */ color: oklch(23.9% 0.069 137.7);
Tailwind
colors: {
  custom: {
    50: '#4d6047',
    500: '#0c2602',
    950: '#000000',
  },
}
SCSS
$custom: #0c2602;
$custom-light: #4d6047;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2602",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 103.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.2388,
    "c": 0.06906,
    "h": 137.7
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#0C2602
secondary
#54186B
accent
#29FFC3
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #0C2602

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

Preview Lab → · Contrast checker → · Palette generator →

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