#0A421B#0A421B

#0A421B is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.087 H 148.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#0A421B
RGBrgb(10, 66, 27)
HSLhsl(138, 74%, 15%)
HSVhsv(138, 85%, 26%)
CMYKcmyk(84.8%, 0%, 59.1%, 74.1%)
CIE-LABlab(23.80, -27.55, 18.67)
CIE-LCHlch(23.80, 33.28, 145.88°)
OKLaboklab(33.39% -0.0741 0.045)
OKLCHoklch(33.39% 0.087 148.7)
XYZxyz(2.2710, 4.0398, 1.6968)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A421B #420A31
analogous
#15420A #0A421B #0A4237
triadic
#0A421B #1B0A42 #421B0A
tetradic
#0A421B #0A1542 #420A31 #42370A
square
#0A421B #0A1542 #420A31 #42370A
split-complementary
#0A421B #370A42 #420A15
monochromatic
#041B0B #041B0B #0A421B #127731 #1AAC46

Accessibility & contrast

On white

11.62
#0A421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A421B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A421B#FFFFFF#000000##FFFFFF
##0A421B1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B18
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0a421b;
/* rgb */ color: rgb(10, 66, 27);
/* oklch */ color: oklch(33.4% 0.087 148.7);
Tailwind
colors: {
  custom: {
    50: '#547758',
    500: '#0a421b',
    950: '#000000',
  },
}
SCSS
$custom: #0a421b;
$custom-light: #547758;
$custom-dark: #000000;
JSON
{
  "hex": "#0a421b",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 138.214,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3339,
    "c": 0.08668,
    "h": 148.7
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#0A421B
secondary
#7F2965
accent
#37B8F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0A421B

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

Preview Lab → · Contrast checker → · Palette generator →

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