#0C4923#0C4923

#0C4923 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.088 H 151.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#0C4923
RGBrgb(12, 73, 35)
HSLhsl(143, 72%, 17%)
HSVhsv(143, 84%, 29%)
CMYKcmyk(83.6%, 0%, 52.1%, 71.4%)
CIE-LABlab(26.63, -28.66, 17.44)
CIE-LCHlch(26.63, 33.55, 148.68°)
OKLaboklab(35.79% -0.077 0.0427)
OKLCHoklch(35.79% 0.088 151)
XYZxyz(2.8373, 4.9643, 2.3984)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4923 #490C32
analogous
#14490C #0C4923 #0C4942
triadic
#0C4923 #230C49 #49230C
tetradic
#0C4923 #0C1449 #490C32 #49420C
square
#0C4923 #0C1449 #490C32 #49420C
split-complementary
#0C4923 #420C49 #490C14
monochromatic
#041A0D #041A0D #0C4923 #157E3C #1DB255

Accessibility & contrast

On white

10.54
#0C4923 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#0C4923 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4923
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4923#FFFFFF#000000##FFFFFF
##0C49231.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494220
Deuteranopia (green-blind)
#423D26
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4923;
/* rgb */ color: rgb(12, 73, 35);
/* oklch */ color: oklch(35.8% 0.088 151.0);
Tailwind
colors: {
  custom: {
    50: '#567c5e',
    500: '#0c4923',
    950: '#000000',
  },
}
SCSS
$custom: #0c4923;
$custom-light: #567c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4923",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 35
  },
  "hsl": {
    "h": 142.623,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.08807,
    "h": 151
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#0C4923
secondary
#852C63
accent
#39AAEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4923

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

Preview Lab → · Contrast checker → · Palette generator →

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