#0C3822#0C3822

#0C3822 is a dark, moderate teal. Relative luminance 0.030; OKLCH L 30.4% C 0.062 H 157.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#0C3822
RGBrgb(12, 56, 34)
HSLhsl(150, 65%, 13%)
HSVhsv(150, 79%, 22%)
CMYKcmyk(78.6%, 0%, 39.3%, 78%)
CIE-LABlab(20.13, -21.13, 9.54)
CIE-LCHlch(20.13, 23.19, 155.71°)
OKLaboklab(30.42% -0.0574 0.024)
OKLCHoklch(30.42% 0.062 157.3)
XYZxyz(1.8544, 3.0218, 1.9986)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3822 #380C22
analogous
#0C380C #0C3822 #0C3838
triadic
#0C3822 #220C38 #38220C
tetradic
#0C3822 #0C0C38 #380C22 #38380C
square
#0C3822 #0C0C38 #380C22 #38380C
split-complementary
#0C3822 #380C38 #380C0C
monochromatic
#05190F #05190F #0C3822 #176A41 #229D5F

Accessibility & contrast

On white

13.09
#0C3822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C3822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3822
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3822#FFFFFF#000000##FFFFFF
##0C38221.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383321
Deuteranopia (green-blind)
#322F23
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3822;
/* rgb */ color: rgb(12, 56, 34);
/* oklch */ color: oklch(30.4% 0.062 157.3);
Tailwind
colors: {
  custom: {
    50: '#526f5d',
    500: '#0c3822',
    950: '#000000',
  },
}
SCSS
$custom: #0c3822;
$custom-light: #526f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3822",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 34
  },
  "hsl": {
    "h": 150,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30417,
    "c": 0.0622,
    "h": 157.3
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#0C3822
secondary
#742C50
accent
#4094E8
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0C3822

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

Preview Lab → · Contrast checker → · Palette generator →

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