#0C2200#0C2200

#0C2200 is a very dark, moderate yellow-green. Relative luminance 0.012; OKLCH L 22.5% C 0.066 H 135.5°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#0C2200
RGBrgb(12, 34, 0)
HSLhsl(99, 100%, 7%)
HSVhsv(99, 100%, 13%)
CMYKcmyk(64.7%, 0%, 100%, 86.7%)
CIE-LABlab(10.72, -16.57, 15.65)
CIE-LCHlch(10.72, 22.79, 136.62°)
OKLaboklab(22.48% -0.0472 0.0464)
OKLCHoklch(22.48% 0.066 135.5)
XYZxyz(0.7236, 1.2222, 0.1978)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2200 #160022
analogous
#1D2200 #0C2200 #002205
triadic
#0C2200 #000C22 #22000C
tetradic
#0C2200 #001D22 #160022 #220500
square
#0C2200 #001D22 #160022 #220500
split-complementary
#0C2200 #050022 #22001D
monochromatic
#0B1F00 #0B1F00 #0C2200 #225F00 #379C00

Accessibility & contrast

On white

16.88
#0C2200 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0C2200 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2200
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2200#FFFFFF#000000##FFFFFF
##0C22001.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#211C02
Tritanopia (blue-blind)
#0B201B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c2200;
/* rgb */ color: rgb(12, 34, 0);
/* oklch */ color: oklch(22.5% 0.066 135.5);
Tailwind
colors: {
  custom: {
    50: '#4c5d46',
    500: '#0c2200',
    950: '#000000',
  },
}
SCSS
$custom: #0c2200;
$custom-light: #4c5d46;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2200",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 0
  },
  "hsl": {
    "h": 98.824,
    "s": 100,
    "l": 6.667
  },
  "oklch": {
    "l": 0.2248,
    "c": 0.06619,
    "h": 135.5
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#0C2200
secondary
#4C136B
accent
#29FFB3
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0C2200

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

Preview Lab → · Contrast checker → · Palette generator →

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