#465716#465716

#465716 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.8% C 0.091 H 123.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#465716
RGBrgb(70, 87, 22)
HSLhsl(76, 60%, 21%)
HSVhsv(76, 75%, 34%)
CMYKcmyk(19.5%, 0%, 74.7%, 65.9%)
CIE-LABlab(34.35, -17.06, 33.89)
CIE-LCHlch(34.35, 37.94, 116.72°)
OKLaboklab(42.82% -0.0496 0.0763)
OKLCHoklch(42.82% 0.091 123)
XYZxyz(6.0789, 8.1764, 2.0168)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465716 #271657
analogous
#574816 #465716 #265716
triadic
#465716 #164657 #571646
tetradic
#465716 #165748 #271657 #571626
square
#465716 #165748 #271657 #571626
split-complementary
#465716 #162657 #481657
monochromatic
#141806 #1F260A #465716 #6D8822 #95B92F

Accessibility & contrast

On white

7.97
#465716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#465716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465716
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465716#FFFFFF#000000##FFFFFF
##4657161.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#4A524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #465716;
/* rgb */ color: rgb(70, 87, 22);
/* oklch */ color: oklch(42.8% 0.091 123.0);
Tailwind
colors: {
  custom: {
    50: '#7c8658',
    500: '#465716',
    950: '#000000',
  },
}
SCSS
$custom: #465716;
$custom-light: #7c8658;
$custom-dark: #000000;
JSON
{
  "hex": "#465716",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 75.692,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42821,
    "c": 0.09095,
    "h": 123
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#465716
secondary
#503A8E
accent
#45E36E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465716

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

Preview Lab → · Contrast checker → · Palette generator →

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