#0A421F#0A421F

#0A421F is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.082 H 151.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#0A421F
RGBrgb(10, 66, 31)
HSLhsl(143, 74%, 15%)
HSVhsv(143, 85%, 26%)
CMYKcmyk(84.8%, 0%, 53%, 74.1%)
CIE-LABlab(23.87, -26.79, 16.35)
CIE-LCHlch(23.87, 31.39, 148.61°)
OKLaboklab(33.47% -0.072 0.04)
OKLCHoklch(33.47% 0.082 151)
XYZxyz(2.3205, 4.0596, 1.9573)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A421F #420A2D
analogous
#11420A #0A421F #0A423B
triadic
#0A421F #1F0A42 #421F0A
tetradic
#0A421F #0A1142 #420A2D #423B0A
square
#0A421F #0A1142 #420A2D #423B0A
split-complementary
#0A421F #3B0A42 #420A11
monochromatic
#041B0C #041B0C #0A421F #127738 #1AAC51

Accessibility & contrast

On white

11.59
#0A421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A421F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A421F#FFFFFF#000000##FFFFFF
##0A421F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1C
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0a421f;
/* rgb */ color: rgb(10, 66, 31);
/* oklch */ color: oklch(33.5% 0.082 151.0);
Tailwind
colors: {
  custom: {
    50: '#54775b',
    500: '#0a421f',
    950: '#000000',
  },
}
SCSS
$custom: #0a421f;
$custom-light: #54775b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a421f",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 142.5,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.08239,
    "h": 151
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#0A421F
secondary
#7F295F
accent
#37ABF0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0A421F

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

Preview Lab → · Contrast checker → · Palette generator →

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