#0A4717#0A4717

#0A4717 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.098 H 146.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#0A4717
RGBrgb(10, 71, 23)
HSLhsl(133, 75%, 16%)
HSVhsv(133, 86%, 28%)
CMYKcmyk(85.9%, 0%, 67.6%, 72.2%)
CIE-LABlab(25.66, -30.23, 23.14)
CIE-LCHlch(25.66, 38.07, 142.57°)
OKLaboklab(34.91% -0.0814 0.0545)
OKLCHoklch(34.91% 0.098 146.2)
XYZxyz(2.5329, 4.6326, 1.5711)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4717 #470A3A
analogous
#1B470A #0A4717 #0A4735
triadic
#0A4717 #170A47 #47170A
tetradic
#0A4717 #0A1B47 #470A3A #47350A
square
#0A4717 #0A1B47 #470A3A #47350A
split-complementary
#0A4717 #350A47 #470A1B
monochromatic
#041B09 #041B09 #0A4717 #127D28 #19B23A

Accessibility & contrast

On white

10.90
#0A4717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A4717
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4717#FFFFFF#000000##FFFFFF
##0A47171.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a4717;
/* rgb */ color: rgb(10, 71, 23);
/* oklch */ color: oklch(34.9% 0.098 146.2);
Tailwind
colors: {
  custom: {
    50: '#567b56',
    500: '#0a4717',
    950: '#000000',
  },
}
SCSS
$custom: #0a4717;
$custom-light: #567b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4717",
  "rgb": {
    "r": 10,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 132.787,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34913,
    "c": 0.09794,
    "h": 146.2
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#0A4717
secondary
#842971
accent
#36CAF2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0A4717

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

Preview Lab → · Contrast checker → · Palette generator →

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