#0A331C#0A331C

#0A331C is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.6% C 0.062 H 154.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#0A331C
RGBrgb(10, 51, 28)
HSLhsl(146, 67%, 12%)
HSVhsv(146, 80%, 20%)
CMYKcmyk(80.4%, 0%, 45.1%, 80%)
CIE-LABlab(17.99, -20.58, 10.62)
CIE-LCHlch(17.99, 23.16, 152.71°)
OKLaboklab(28.6% -0.0556 0.0265)
OKLCHoklch(28.6% 0.062 154.5)
XYZxyz(1.5185, 2.5159, 1.5040)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A331C #330A21
analogous
#0D330A #0A331C #0A3331
triadic
#0A331C #1C0A33 #331C0A
tetradic
#0A331C #0A0D33 #330A21 #33310A
square
#0A331C #0A0D33 #330A21 #33310A
split-complementary
#0A331C #310A33 #330A0D
monochromatic
#051A0E #051A0E #0A331C #146638 #1E9954

Accessibility & contrast

On white

13.97
#0A331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0A331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A331C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A331C#FFFFFF#000000##FFFFFF
##0A331C1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E1A
Deuteranopia (green-blind)
#2E2B1E
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0a331c;
/* rgb */ color: rgb(10, 51, 28);
/* oklch */ color: oklch(28.6% 0.062 154.5);
Tailwind
colors: {
  custom: {
    50: '#4f6b58',
    500: '#0a331c',
    950: '#000000',
  },
}
SCSS
$custom: #0a331c;
$custom-light: #4f6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0a331c",
  "rgb": {
    "r": 10,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 146.341,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28596,
    "c": 0.06164,
    "h": 154.5
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#0A331C
secondary
#702851
accent
#3E9EEA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0A331C

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

Preview Lab → · Contrast checker → · Palette generator →

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