#0C230B#0C230B

#0C230B is a very dark, muted green. Relative luminance 0.013; OKLCH L 23.0% C 0.053 H 142.9°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#0C230B
RGBrgb(12, 35, 11)
HSLhsl(118, 52%, 9%)
HSVhsv(118, 69%, 14%)
CMYKcmyk(65.7%, 0%, 68.6%, 86.3%)
CIE-LABlab(11.31, -15.43, 11.98)
CIE-LCHlch(11.31, 19.53, 142.18°)
OKLaboklab(23.02% -0.042 0.0318)
OKLCHoklch(23.02% 0.053 142.9)
XYZxyz(0.8130, 1.3043, 0.5255)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C230B #220B23
analogous
#18230B #0C230B #0B2316
triadic
#0C230B #0B0C23 #230B0C
tetradic
#0C230B #0B1823 #220B23 #23160B
square
#0C230B #0B1823 #220B23 #23160B
split-complementary
#0C230B #160B23 #230B18
monochromatic
#081707 #081707 #0C230B #1C521A #2C8028

Accessibility & contrast

On white

16.66
#0C230B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C230B
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C230B#FFFFFF#000000##FFFFFF
##0C230B1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F09
Deuteranopia (green-blind)
#211D0D
Tritanopia (blue-blind)
#09221E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c230b;
/* rgb */ color: rgb(12, 35, 11);
/* oklch */ color: oklch(23.0% 0.053 142.9);
Tailwind
colors: {
  custom: {
    50: '#4c5e4b',
    500: '#0c230b',
    950: '#000000',
  },
}
SCSS
$custom: #0c230b;
$custom-light: #4c5e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c230b",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 11
  },
  "hsl": {
    "h": 117.5,
    "s": 52.174,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23016,
    "c": 0.05274,
    "h": 142.9
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#0C230B
secondary
#5C2C5E
accent
#4CDCD6
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #0C230B

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

Preview Lab → · Contrast checker → · Palette generator →

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