#0A4017#0A4017

#0A4017 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.088 H 147.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#0A4017
RGBrgb(10, 64, 23)
HSLhsl(134, 73%, 15%)
HSVhsv(134, 84%, 25%)
CMYKcmyk(84.4%, 0%, 64.1%, 74.9%)
CIE-LABlab(22.97, -27.40, 20.00)
CIE-LCHlch(22.97, 33.92, 143.88°)
OKLaboklab(32.69% -0.0738 0.0476)
OKLCHoklch(32.69% 0.088 147.1)
XYZxyz(2.1131, 3.7929, 1.4312)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4017 #400A33
analogous
#18400A #0A4017 #0A4032
triadic
#0A4017 #170A40 #40170A
tetradic
#0A4017 #0A1840 #400A33 #40320A
square
#0A4017 #0A1840 #400A33 #40320A
split-complementary
#0A4017 #320A40 #400A18
monochromatic
#041A0A #041A0A #0A4017 #12752A #1BAA3D

Accessibility & contrast

On white

11.94
#0A4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0A4017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4017
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4017#FFFFFF#000000##FFFFFF
##0A40171.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413913
Deuteranopia (green-blind)
#3B351A
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a4017;
/* rgb */ color: rgb(10, 64, 23);
/* oklch */ color: oklch(32.7% 0.088 147.1);
Tailwind
colors: {
  custom: {
    50: '#537555',
    500: '#0a4017',
    950: '#000000',
  },
}
SCSS
$custom: #0a4017;
$custom-light: #537555;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4017",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 134.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.08782,
    "h": 147.1
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#0A4017
secondary
#7D2969
accent
#38C3F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0A4017

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

Preview Lab → · Contrast checker → · Palette generator →

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