#465817#465817

#465817 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.1% C 0.092 H 123.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#465817
RGBrgb(70, 88, 23)
HSLhsl(77, 59%, 22%)
HSVhsv(77, 74%, 35%)
CMYKcmyk(20.5%, 0%, 73.9%, 65.5%)
CIE-LABlab(34.69, -17.53, 33.79)
CIE-LCHlch(34.69, 38.07, 117.42°)
OKLaboklab(43.1% -0.0508 0.0762)
OKLCHoklch(43.1% 0.092 123.7)
XYZxyz(6.1702, 8.3434, 2.0958)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465817 #291758
analogous
#584A17 #465817 #265817
triadic
#465817 #174658 #581746
tetradic
#465817 #17584A #291758 #581726
square
#465817 #17584A #291758 #581726
split-complementary
#465817 #172658 #4A1758
monochromatic
#131806 #1F270A #465817 #6D8924 #93B930

Accessibility & contrast

On white

7.87
#465817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#465817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465817
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465817#FFFFFF#000000##FFFFFF
##4658171.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#4A534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #465817;
/* rgb */ color: rgb(70, 88, 23);
/* oklch */ color: oklch(43.1% 0.092 123.7);
Tailwind
colors: {
  custom: {
    50: '#7c8758',
    500: '#465817',
    950: '#000000',
  },
}
SCSS
$custom: #465817;
$custom-light: #7c8758;
$custom-dark: #000000;
JSON
{
  "hex": "#465817",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 76.615,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.09158,
    "h": 123.7
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#465817
secondary
#533C8F
accent
#46E271
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465817

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

Preview Lab → · Contrast checker → · Palette generator →

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