#465717#465717

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

Color values

HEX#465717
RGBrgb(70, 87, 23)
HSLhsl(76, 58%, 22%)
HSVhsv(76, 74%, 34%)
CMYKcmyk(19.5%, 0%, 73.6%, 65.9%)
CIE-LABlab(34.36, -16.99, 33.45)
CIE-LCHlch(34.36, 37.52, 116.92°)
OKLaboklab(42.83% -0.0493 0.0755)
OKLCHoklch(42.83% 0.09 123.1)
XYZxyz(6.0887, 8.1803, 2.0686)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465717 #281757
analogous
#574817 #465717 #265717
triadic
#465717 #174657 #571746
tetradic
#465717 #175748 #281757 #571726
square
#465717 #175748 #281757 #571726
split-complementary
#465717 #172657 #481757
monochromatic
#131806 #1F270A #465717 #6D8724 #94B831

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##465717#FFFFFF#000000##FFFFFF
##4657171.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)
#5C510D
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#4A524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #465717;
/* rgb */ color: rgb(70, 87, 23);
/* oklch */ color: oklch(42.8% 0.090 123.1);
Tailwind
colors: {
  custom: {
    50: '#7c8658',
    500: '#465717',
    950: '#000000',
  },
}
SCSS
$custom: #465717;
$custom-light: #7c8658;
$custom-dark: #000000;
JSON
{
  "hex": "#465717",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 75.938,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.09016,
    "h": 123.1
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#465717
secondary
#523C8E
accent
#46E170
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465717

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

Preview Lab → · Contrast checker → · Palette generator →

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