#0A420B#0A420B

#0A420B is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.101 H 143.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#0A420B
RGBrgb(10, 66, 11)
HSLhsl(121, 74%, 15%)
HSVhsv(121, 85%, 26%)
CMYKcmyk(84.8%, 0%, 83.3%, 74.1%)
CIE-LABlab(23.62, -29.73, 26.81)
CIE-LCHlch(23.62, 40.03, 137.96°)
OKLaboklab(33.18% -0.0807 0.0606)
OKLCHoklch(33.18% 0.101 143.1)
XYZxyz(2.1337, 3.9849, 0.9733)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A420B #420A41
analogous
#25420A #0A420B #0A4227
triadic
#0A420B #0B0A42 #420B0A
tetradic
#0A420B #0A2542 #420A41 #42270A
square
#0A420B #0A2542 #420A41 #42270A
split-complementary
#0A420B #270A42 #420A25
monochromatic
#041B04 #041B04 #0A420B #127714 #1AAC1D

Accessibility & contrast

On white

11.69
#0A420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0A420B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A420B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A420B#FFFFFF#000000##FFFFFF
##0A420B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B03
Deuteranopia (green-blind)
#3D3711
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0a420b;
/* rgb */ color: rgb(10, 66, 11);
/* oklch */ color: oklch(33.2% 0.101 143.1);
Tailwind
colors: {
  custom: {
    50: '#55774e',
    500: '#0a420b',
    950: '#000000',
  },
}
SCSS
$custom: #0a420b;
$custom-light: #55774e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a420b",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 121.071,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.10091,
    "h": 143.1
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#0A420B
secondary
#7F297E
accent
#37EDF0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0A420B

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

Preview Lab → · Contrast checker → · Palette generator →

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