#0A2A12#0A2A12

#0A2A12 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.4% C 0.058 H 148.8°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#0A2A12
RGBrgb(10, 42, 18)
HSLhsl(135, 62%, 10%)
HSVhsv(135, 76%, 16%)
CMYKcmyk(76.2%, 0%, 57.1%, 83.5%)
CIE-LABlab(14.20, -18.37, 12.22)
CIE-LCHlch(14.20, 22.07, 146.36°)
OKLaboklab(25.41% -0.0496 0.0301)
OKLCHoklch(25.41% 0.058 148.8)
XYZxyz(1.0622, 1.7640, 0.8567)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2A12 #2A0A22
analogous
#122A0A #0A2A12 #0A2A22
triadic
#0A2A12 #120A2A #2A120A
tetradic
#0A2A12 #0A122A #2A0A22 #2A220A
square
#0A2A12 #0A122A #2A0A22 #2A220A
split-complementary
#0A2A12 #220A2A #2A0A12
monochromatic
#06190B #06190B #0A2A12 #165B27 #228D3C

Accessibility & contrast

On white

15.52
#0A2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0A2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2A12
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2A12#FFFFFF#000000##FFFFFF
##0A2A121.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2610
Deuteranopia (green-blind)
#262314
Tritanopia (blue-blind)
#032924
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0a2a12;
/* rgb */ color: rgb(10, 42, 18);
/* oklch */ color: oklch(25.4% 0.058 148.8);
Tailwind
colors: {
  custom: {
    50: '#4d6450',
    500: '#0a2a12',
    950: '#000000',
  },
}
SCSS
$custom: #0a2a12;
$custom-light: #4d6450;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2a12",
  "rgb": {
    "r": 10,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 135,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25408,
    "c": 0.05802,
    "h": 148.8
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#0A2A12
secondary
#672957
accent
#43BCE5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #0A2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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