#0A420F#0A420F

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

Color values

HEX#0A420F
RGBrgb(10, 66, 15)
HSLhsl(125, 74%, 15%)
HSVhsv(125, 85%, 26%)
CMYKcmyk(84.8%, 0%, 77.3%, 74.1%)
CIE-LABlab(23.66, -29.31, 25.02)
CIE-LCHlch(23.66, 38.54, 139.52°)
OKLaboklab(33.22% -0.0793 0.0575)
OKLCHoklch(33.22% 0.098 144.1)
XYZxyz(2.1595, 3.9952, 1.1092)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A420F #420A3D
analogous
#21420A #0A420F #0A422B
triadic
#0A420F #0F0A42 #420F0A
tetradic
#0A420F #0A2142 #420A3D #422B0A
square
#0A420F #0A2142 #420A3D #422B0A
split-complementary
#0A420F #2B0A42 #420A21
monochromatic
#041B06 #041B06 #0A420F #12771B #1AAC27

Accessibility & contrast

On white

11.67
#0A420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A420F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A420F#FFFFFF#000000##FFFFFF
##0A420F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B08
Deuteranopia (green-blind)
#3D3714
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0a420f;
/* rgb */ color: rgb(10, 66, 15);
/* oklch */ color: oklch(33.2% 0.098 144.1);
Tailwind
colors: {
  custom: {
    50: '#557750',
    500: '#0a420f',
    950: '#000000',
  },
}
SCSS
$custom: #0a420f;
$custom-light: #557750;
$custom-dark: #000000;
JSON
{
  "hex": "#0a420f",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 125.357,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33221,
    "c": 0.09794,
    "h": 144.1
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#0A420F
secondary
#7F2977
accent
#37E0F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0A420F

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

Preview Lab → · Contrast checker → · Palette generator →

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