#0A421C#0A421C

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

Color values

HEX#0A421C
RGBrgb(10, 66, 28)
HSLhsl(139, 74%, 15%)
HSVhsv(139, 85%, 26%)
CMYKcmyk(84.8%, 0%, 57.6%, 74.1%)
CIE-LABlab(23.82, -27.37, 18.10)
CIE-LCHlch(23.82, 32.81, 146.53°)
OKLaboklab(33.41% -0.0736 0.0438)
OKLCHoklch(33.41% 0.086 149.2)
XYZxyz(2.2828, 4.0445, 1.7587)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A421C #420A30
analogous
#14420A #0A421C #0A4238
triadic
#0A421C #1C0A42 #421C0A
tetradic
#0A421C #0A1442 #420A30 #42380A
square
#0A421C #0A1442 #420A30 #42380A
split-complementary
#0A421C #380A42 #420A14
monochromatic
#041B0B #041B0B #0A421C #127733 #1AAC49

Accessibility & contrast

On white

11.61
#0A421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A421C
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A421C#FFFFFF#000000##FFFFFF
##0A421C1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a421c;
/* rgb */ color: rgb(10, 66, 28);
/* oklch */ color: oklch(33.4% 0.086 149.2);
Tailwind
colors: {
  custom: {
    50: '#547759',
    500: '#0a421c',
    950: '#000000',
  },
}
SCSS
$custom: #0a421c;
$custom-light: #547759;
$custom-dark: #000000;
JSON
{
  "hex": "#0a421c",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 139.286,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33408,
    "c": 0.08562,
    "h": 149.2
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#0A421C
secondary
#7F2963
accent
#37B5F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0A421C

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

Preview Lab → · Contrast checker → · Palette generator →

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