#0A2F18#0A2F18

#0A2F18 is a dark, muted green. Relative luminance 0.022; OKLCH L 27.2% C 0.060 H 152.5°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#0A2F18
RGBrgb(10, 47, 24)
HSLhsl(143, 65%, 11%)
HSVhsv(143, 79%, 18%)
CMYKcmyk(78.7%, 0%, 48.9%, 81.6%)
CIE-LABlab(16.32, -19.55, 11.06)
CIE-LCHlch(16.32, 22.46, 150.49°)
OKLaboklab(27.2% -0.0528 0.0275)
OKLCHoklch(27.2% 0.06 152.5)
XYZxyz(1.3065, 2.1634, 1.2127)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2F18 #2F0A21
analogous
#0E2F0A #0A2F18 #0A2F2A
triadic
#0A2F18 #180A2F #2F180A
tetradic
#0A2F18 #0A0E2F #2F0A21 #2F2A0A
square
#0A2F18 #0A0E2F #2F0A21 #2F2A0A
split-complementary
#0A2F18 #2A0A2F #2F0A0E
monochromatic
#05190D #05190D #0A2F18 #156132 #1F944C

Accessibility & contrast

On white

14.66
#0A2F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0A2F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2F18
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2F18#FFFFFF#000000##FFFFFF
##0A2F181.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A16
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0a2f18;
/* rgb */ color: rgb(10, 47, 24);
/* oklch */ color: oklch(27.2% 0.060 152.5);
Tailwind
colors: {
  custom: {
    50: '#4e6855',
    500: '#0a2f18',
    950: '#000000',
  },
}
SCSS
$custom: #0a2f18;
$custom-light: #4e6855;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2f18",
  "rgb": {
    "r": 10,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 142.703,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27196,
    "c": 0.05952,
    "h": 152.5
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#0A2F18
secondary
#6C2953
accent
#40A8E8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020603
muted
#787A78

Preview Lab

Preview with #0A2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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