#0A4218#0A4218

#0A4218 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.090 H 147.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#0A4218
RGBrgb(10, 66, 24)
HSLhsl(135, 74%, 15%)
HSVhsv(135, 85%, 26%)
CMYKcmyk(84.8%, 0%, 63.6%, 74.1%)
CIE-LABlab(23.76, -28.06, 20.36)
CIE-LCHlch(23.76, 34.67, 144.04°)
OKLaboklab(33.34% -0.0755 0.0485)
OKLCHoklch(33.34% 0.09 147.3)
XYZxyz(2.2381, 4.0266, 1.5232)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4218 #420A34
analogous
#18420A #0A4218 #0A4234
triadic
#0A4218 #180A42 #42180A
tetradic
#0A4218 #0A1842 #420A34 #42340A
square
#0A4218 #0A1842 #420A34 #42340A
split-complementary
#0A4218 #340A42 #420A18
monochromatic
#041B0A #041B0A #0A4218 #12772B #1AAC3F

Accessibility & contrast

On white

11.63
#0A4218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0A4218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4218
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4218#FFFFFF#000000##FFFFFF
##0A42181.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#3C371B
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0a4218;
/* rgb */ color: rgb(10, 66, 24);
/* oklch */ color: oklch(33.3% 0.090 147.3);
Tailwind
colors: {
  custom: {
    50: '#547756',
    500: '#0a4218',
    950: '#000000',
  },
}
SCSS
$custom: #0a4218;
$custom-light: #547756;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4218",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 24
  },
  "hsl": {
    "h": 135,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3334,
    "c": 0.08976,
    "h": 147.3
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#0A4218
secondary
#7F296A
accent
#37C2F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0A4218

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

Preview Lab → · Contrast checker → · Palette generator →

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