#0C2300#0C2300

#0C2300 is a very dark, moderate yellow-green. Relative luminance 0.013; OKLCH L 22.8% C 0.068 H 135.8°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#0C2300
RGBrgb(12, 35, 0)
HSLhsl(99, 100%, 7%)
HSVhsv(99, 100%, 14%)
CMYKcmyk(65.7%, 0%, 100%, 86.3%)
CIE-LABlab(11.14, -17.17, 16.23)
CIE-LCHlch(11.14, 23.63, 136.61°)
OKLaboklab(22.82% -0.0485 0.0472)
OKLCHoklch(22.82% 0.068 135.8)
XYZxyz(0.7526, 1.2802, 0.2074)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2300 #170023
analogous
#1E2300 #0C2300 #002306
triadic
#0C2300 #000C23 #23000C
tetradic
#0C2300 #001E23 #170023 #230600
square
#0C2300 #001E23 #170023 #230600
split-complementary
#0C2300 #060023 #23001E
monochromatic
#0A1F00 #0A1F00 #0C2300 #216000 #369D00

Accessibility & contrast

On white

16.72
#0C2300 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0C2300 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2300
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2300#FFFFFF#000000##FFFFFF
##0C23001.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#221D02
Tritanopia (blue-blind)
#0B211C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c2300;
/* rgb */ color: rgb(12, 35, 0);
/* oklch */ color: oklch(22.8% 0.068 135.8);
Tailwind
colors: {
  custom: {
    50: '#4c5e46',
    500: '#0c2300',
    950: '#000000',
  },
}
SCSS
$custom: #0c2300;
$custom-light: #4c5e46;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2300",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 0
  },
  "hsl": {
    "h": 99.429,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22822,
    "c": 0.06763,
    "h": 135.8
  },
  "luminance": 0.0128
}

Semantic roles & 50–950 ramp

primary
#0C2300
secondary
#4D136C
accent
#29FFB6
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0C2300

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

Preview Lab → · Contrast checker → · Palette generator →

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