#0A4217#0A4217

#0A4217 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.091 H 146.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#0A4217
RGBrgb(10, 66, 23)
HSLhsl(134, 74%, 15%)
HSVhsv(134, 85%, 26%)
CMYKcmyk(84.8%, 0%, 65.2%, 74.1%)
CIE-LABlab(23.75, -28.22, 20.91)
CIE-LCHlch(23.75, 35.13, 143.47°)
OKLaboklab(33.32% -0.076 0.0496)
OKLCHoklch(33.32% 0.091 146.9)
XYZxyz(2.2279, 4.0226, 1.4695)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4217 #420A35
analogous
#19420A #0A4217 #0A4233
triadic
#0A4217 #170A42 #42170A
tetradic
#0A4217 #0A1942 #420A35 #42330A
square
#0A4217 #0A1942 #420A35 #42330A
split-complementary
#0A4217 #330A42 #420A19
monochromatic
#041B09 #041B09 #0A4217 #12772A #1AAC3C

Accessibility & contrast

On white

11.64
#0A4217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0A4217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4217
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4217#FFFFFF#000000##FFFFFF
##0A42171.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B13
Deuteranopia (green-blind)
#3D371A
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0a4217;
/* rgb */ color: rgb(10, 66, 23);
/* oklch */ color: oklch(33.3% 0.091 146.9);
Tailwind
colors: {
  custom: {
    50: '#547755',
    500: '#0a4217',
    950: '#000000',
  },
}
SCSS
$custom: #0a4217;
$custom-light: #547755;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4217",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 133.929,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33325,
    "c": 0.09076,
    "h": 146.9
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#0A4217
secondary
#7F296B
accent
#37C5F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0A4217

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

Preview Lab → · Contrast checker → · Palette generator →

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