#465517#465517

#465517 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.3% C 0.087 H 122.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#465517
RGBrgb(70, 85, 23)
HSLhsl(75, 57%, 21%)
HSVhsv(75, 73%, 33%)
CMYKcmyk(17.6%, 0%, 72.9%, 66.7%)
CIE-LABlab(33.69, -15.89, 32.77)
CIE-LCHlch(33.69, 36.42, 115.87°)
OKLaboklab(42.29% -0.0462 0.0741)
OKLCHoklch(42.29% 0.087 122)
XYZxyz(5.9290, 7.8609, 2.0154)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465517 #261755
analogous
#554517 #465517 #275517
triadic
#465517 #174655 #551746
tetradic
#465517 #175545 #261755 #551727
square
#465517 #175545 #261755 #551727
split-complementary
#465517 #172755 #451755
monochromatic
#141807 #1E250A #465517 #6E8524 #95B531

Accessibility & contrast

On white

8.16
#465517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#465517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465517
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465517#FFFFFF#000000##FFFFFF
##4655171.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A500E
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#4A5048
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #465517;
/* rgb */ color: rgb(70, 85, 23);
/* oklch */ color: oklch(42.3% 0.087 122.0);
Tailwind
colors: {
  custom: {
    50: '#7b8458',
    500: '#465517',
    950: '#000000',
  },
}
SCSS
$custom: #465517;
$custom-light: #7b8458;
$custom-dark: #000000;
JSON
{
  "hex": "#465517",
  "rgb": {
    "r": 70,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 74.516,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.08732,
    "h": 122
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#465517
secondary
#4F3C8C
accent
#47E16C
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465517

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

Preview Lab → · Contrast checker → · Palette generator →

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