#0C2B00#0C2B00

#0C2B00 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.5% C 0.079 H 137.9°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#0C2B00
RGBrgb(12, 43, 0)
HSLhsl(103, 100%, 8%)
HSVhsv(103, 100%, 17%)
CMYKcmyk(72.1%, 0%, 100%, 83.1%)
CIE-LABlab(14.43, -21.05, 20.67)
CIE-LCHlch(14.43, 29.50, 135.53°)
OKLaboklab(25.55% -0.0584 0.0528)
OKLCHoklch(25.55% 0.079 137.9)
XYZxyz(1.0155, 1.8058, 0.2950)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B00 #1F002B
analogous
#212B00 #0C2B00 #002B09
triadic
#0C2B00 #000C2B #2B000C
tetradic
#0C2B00 #00212B #1F002B #2B0900
square
#0C2B00 #00212B #1F002B #2B0900
split-complementary
#0C2B00 #09002B #2B0021
monochromatic
#091F00 #091F00 #0C2B00 #1D6800 #2EA500

Accessibility & contrast

On white

15.43
#0C2B00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C2B00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B00
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B00#FFFFFF#000000##FFFFFF
##0C2B001.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#092923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c2b00;
/* rgb */ color: rgb(12, 43, 0);
/* oklch */ color: oklch(25.5% 0.079 137.9);
Tailwind
colors: {
  custom: {
    50: '#4e6546',
    500: '#0c2b00',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b00;
$custom-light: #4e6546;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b00",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 0
  },
  "hsl": {
    "h": 103.256,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25545,
    "c": 0.07876,
    "h": 137.9
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#0C2B00
secondary
#581473
accent
#29FFC3
background
#F4F6F3
surface
#E7EBE5
border
#C3C6C1
text
#020500
muted
#787A77

Preview Lab

Preview with #0C2B00

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

Preview Lab → · Contrast checker → · Palette generator →

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