#0A420E#0A420E

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

Color values

HEX#0A420E
RGBrgb(10, 66, 14)
HSLhsl(124, 74%, 15%)
HSVhsv(124, 85%, 26%)
CMYKcmyk(84.8%, 0%, 78.8%, 74.1%)
CIE-LABlab(23.65, -29.43, 25.48)
CIE-LCHlch(23.65, 38.93, 139.11°)
OKLaboklab(33.21% -0.0797 0.0583)
OKLCHoklch(33.21% 0.099 143.8)
XYZxyz(2.1525, 3.9924, 1.0726)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A420E #420A3E
analogous
#22420A #0A420E #0A422A
triadic
#0A420E #0E0A42 #420E0A
tetradic
#0A420E #0A2242 #420A3E #422A0A
square
#0A420E #0A2242 #420A3E #422A0A
split-complementary
#0A420E #2A0A42 #420A22
monochromatic
#041B06 #041B06 #0A420E #127719 #1AAC25

Accessibility & contrast

On white

11.68
#0A420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A420E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A420E#FFFFFF#000000##FFFFFF
##0A420E1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a420e;
/* rgb */ color: rgb(10, 66, 14);
/* oklch */ color: oklch(33.2% 0.099 143.8);
Tailwind
colors: {
  custom: {
    50: '#557750',
    500: '#0a420e',
    950: '#000000',
  },
}
SCSS
$custom: #0a420e;
$custom-light: #557750;
$custom-dark: #000000;
JSON
{
  "hex": "#0a420e",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 124.286,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3321,
    "c": 0.09872,
    "h": 143.8
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#0A420E
secondary
#7F2979
accent
#37E3F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0A420E

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

Preview Lab → · Contrast checker → · Palette generator →

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