#0C2502#0C2502

#0C2502 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.5% C 0.068 H 137.5°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#0C2502
RGBrgb(12, 37, 2)
HSLhsl(103, 90%, 8%)
HSVhsv(103, 95%, 15%)
CMYKcmyk(67.6%, 0%, 94.6%, 85.5%)
CIE-LABlab(11.99, -17.94, 16.60)
CIE-LCHlch(11.99, 24.44, 137.23°)
OKLaboklab(23.54% -0.0498 0.0457)
OKLCHoklch(23.54% 0.068 137.5)
XYZxyz(0.8241, 1.4056, 0.2853)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2502 #1B0225
analogous
#1D2502 #0C2502 #022509
triadic
#0C2502 #020C25 #25020C
tetradic
#0C2502 #021D25 #1B0225 #250902
square
#0C2502 #021D25 #1B0225 #250902
split-complementary
#0C2502 #090225 #25021D
monochromatic
#091D02 #091D02 #0C2502 #1F5F05 #329908

Accessibility & contrast

On white

16.39
#0C2502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0C2502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2502
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2502#FFFFFF#000000##FFFFFF
##0C25021.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#231F04
Tritanopia (blue-blind)
#0A231E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0c2502;
/* rgb */ color: rgb(12, 37, 2);
/* oklch */ color: oklch(23.5% 0.068 137.5);
Tailwind
colors: {
  custom: {
    50: '#4c6047',
    500: '#0c2502',
    950: '#000000',
  },
}
SCSS
$custom: #0c2502;
$custom-light: #4c6047;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2502",
  "rgb": {
    "r": 12,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 102.857,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.2354,
    "c": 0.06756,
    "h": 137.5
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#0C2502
secondary
#53186A
accent
#29FFC2
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0C2502

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

Preview Lab → · Contrast checker → · Palette generator →

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