#465017#465017

#465017 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 41.0% C 0.080 H 118.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#465017
RGBrgb(70, 80, 23)
HSLhsl(71, 55%, 20%)
HSVhsv(71, 71%, 31%)
CMYKcmyk(12.5%, 0%, 71.2%, 68.6%)
CIE-LABlab(32.04, -13.08, 31.05)
CIE-LCHlch(32.04, 33.69, 112.85°)
OKLaboklab(40.96% -0.0384 0.0705)
OKLCHoklch(40.96% 0.08 118.6)
XYZxyz(5.5492, 7.1013, 1.8888)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465017 #211750
analogous
#503D17 #465017 #2A5017
triadic
#465017 #174650 #501746
tetradic
#465017 #17503D #211750 #50172A
square
#465017 #17503D #211750 #50172A
split-complementary
#465017 #172A50 #3D1750
monochromatic
#151807 #1C2009 #465017 #708025 #99AF32

Accessibility & contrast

On white

8.68
#465017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#465017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465017
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465017#FFFFFF#000000##FFFFFF
##4650171.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#4A4B44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #465017;
/* rgb */ color: rgb(70, 80, 23);
/* oklch */ color: oklch(41.0% 0.080 118.6);
Tailwind
colors: {
  custom: {
    50: '#7b8157',
    500: '#465017',
    950: '#000000',
  },
}
SCSS
$custom: #465017;
$custom-light: #7b8157;
$custom-dark: #000000;
JSON
{
  "hex": "#465017",
  "rgb": {
    "r": 70,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 70.526,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40961,
    "c": 0.08025,
    "h": 118.6
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#465017
secondary
#493C87
accent
#49DF63
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #465017

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

Preview Lab → · Contrast checker → · Palette generator →

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