#466017#466017

#466017 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.3% C 0.103 H 127.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#466017
RGBrgb(70, 96, 23)
HSLhsl(81, 61%, 23%)
HSVhsv(81, 76%, 38%)
CMYKcmyk(27.1%, 0%, 76%, 62.4%)
CIE-LABlab(37.35, -21.76, 36.49)
CIE-LCHlch(37.35, 42.48, 120.81°)
OKLaboklab(45.26% -0.0624 0.0819)
OKLCHoklch(45.26% 0.103 127.3)
XYZxyz(6.8633, 9.7296, 2.3268)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466017 #311760
analogous
#605517 #466017 #216017
triadic
#466017 #174660 #601746
tetradic
#466017 #176055 #311760 #601721
square
#466017 #176055 #311760 #601721
split-complementary
#466017 #172160 #551760
monochromatic
#121906 #222F0B #466017 #6A9123 #8EC32F

Accessibility & contrast

On white

7.13
#466017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#466017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #466017
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466017#FFFFFF#000000##FFFFFF
##4660171.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#495B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #466017;
/* rgb */ color: rgb(70, 96, 23);
/* oklch */ color: oklch(45.3% 0.103 127.3);
Tailwind
colors: {
  custom: {
    50: '#7c8d59',
    500: '#466017',
    950: '#000000',
  },
}
SCSS
$custom: #466017;
$custom-light: #7c8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#466017",
  "rgb": {
    "r": 70,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 81.37,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.10292,
    "h": 127.3
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#466017
secondary
#5C3C97
accent
#43E47D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #466017

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

Preview Lab → · Contrast checker → · Palette generator →

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