#465718#465718

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

Color values

HEX#465718
RGBrgb(70, 87, 24)
HSLhsl(76, 57%, 22%)
HSVhsv(76, 72%, 34%)
CMYKcmyk(19.5%, 0%, 72.4%, 65.9%)
CIE-LABlab(34.36, -16.91, 33.01)
CIE-LCHlch(34.36, 37.09, 117.13°)
OKLaboklab(42.84% -0.0489 0.0748)
OKLCHoklch(42.84% 0.089 123.2)
XYZxyz(6.0989, 8.1844, 2.1224)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465718 #291857
analogous
#574918 #465718 #275718
triadic
#465718 #184657 #571846
tetradic
#465718 #185749 #291857 #571827
square
#465718 #185749 #291857 #571827
split-complementary
#465718 #182757 #491857
monochromatic
#131807 #1F270B #465718 #6D8725 #93B732

Accessibility & contrast

On white

7.96
#465718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #465718
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465718#FFFFFF#000000##FFFFFF
##4657181.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #465718;
/* rgb */ color: rgb(70, 87, 24);
/* oklch */ color: oklch(42.8% 0.089 123.2);
Tailwind
colors: {
  custom: {
    50: '#7c8659',
    500: '#465718',
    950: '#000000',
  },
}
SCSS
$custom: #465718;
$custom-light: #7c8659;
$custom-dark: #000000;
JSON
{
  "hex": "#465718",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 76.19,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.08935,
    "h": 123.2
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#465718
secondary
#533D8E
accent
#48E071
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #465718

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

Preview Lab → · Contrast checker → · Palette generator →

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