#0A471C#0A471C

#0A471C is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.0% C 0.093 H 148.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#0A471C
RGBrgb(10, 71, 28)
HSLhsl(138, 75%, 16%)
HSVhsv(138, 86%, 28%)
CMYKcmyk(85.9%, 0%, 60.6%, 72.2%)
CIE-LABlab(25.73, -29.44, 20.43)
CIE-LCHlch(25.73, 35.83, 145.24°)
OKLaboklab(34.99% -0.0791 0.049)
OKLCHoklch(34.99% 0.093 148.2)
XYZxyz(2.5878, 4.6545, 1.8604)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A471C #470A35
analogous
#16470A #0A471C #0A473A
triadic
#0A471C #1C0A47 #471C0A
tetradic
#0A471C #0A1647 #470A35 #473A0A
square
#0A471C #0A1647 #470A35 #473A0A
split-complementary
#0A471C #3A0A47 #470A16
monochromatic
#041B0B #041B0B #0A471C #127D31 #19B246

Accessibility & contrast

On white

10.88
#0A471C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0A471C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A471C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A471C#FFFFFF#000000##FFFFFF
##0A471C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#413B1F
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0a471c;
/* rgb */ color: rgb(10, 71, 28);
/* oklch */ color: oklch(35.0% 0.093 148.2);
Tailwind
colors: {
  custom: {
    50: '#557b59',
    500: '#0a471c',
    950: '#000000',
  },
}
SCSS
$custom: #0a471c;
$custom-light: #557b59;
$custom-dark: #000000;
JSON
{
  "hex": "#0a471c",
  "rgb": {
    "r": 10,
    "g": 71,
    "b": 28
  },
  "hsl": {
    "h": 137.705,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34989,
    "c": 0.09307,
    "h": 148.2
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#0A471C
secondary
#842969
accent
#36BAF2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0A471C

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

Preview Lab → · Contrast checker → · Palette generator →

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