#465417#465417

#465417 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 42.0% C 0.086 H 121.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#465417
RGBrgb(70, 84, 23)
HSLhsl(74, 57%, 21%)
HSVhsv(74, 73%, 33%)
CMYKcmyk(16.7%, 0%, 72.6%, 67.1%)
CIE-LABlab(33.36, -15.34, 32.43)
CIE-LCHlch(33.36, 35.87, 115.31°)
OKLaboklab(42.03% -0.0447 0.0734)
OKLCHoklch(42.03% 0.086 121.3)
XYZxyz(5.8508, 7.7046, 1.9893)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465417 #251754
analogous
#544317 #465417 #275417
triadic
#465417 #174654 #541746
tetradic
#465417 #175443 #251754 #541727
square
#465417 #175443 #251754 #541727
split-complementary
#465417 #172754 #431754
monochromatic
#141807 #1E240A #465417 #6E8424 #96B431

Accessibility & contrast

On white

8.26
#465417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#465417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465417
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465417#FFFFFF#000000##FFFFFF
##4654171.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0E
Deuteranopia (green-blind)
#584E1C
Tritanopia (blue-blind)
#4A4F48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #465417;
/* rgb */ color: rgb(70, 84, 23);
/* oklch */ color: oklch(42.0% 0.086 121.3);
Tailwind
colors: {
  custom: {
    50: '#7b8458',
    500: '#465417',
    950: '#000000',
  },
}
SCSS
$custom: #465417;
$custom-light: #7b8458;
$custom-dark: #000000;
JSON
{
  "hex": "#465417",
  "rgb": {
    "r": 70,
    "g": 84,
    "b": 23
  },
  "hsl": {
    "h": 73.77,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.0859,
    "h": 121.3
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#465417
secondary
#4E3C8B
accent
#48E06B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #465417

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

Preview Lab → · Contrast checker → · Palette generator →

#465417 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva