#466D17#466D17

#466D17 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.8% C 0.121 H 131.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#466D17
RGBrgb(70, 109, 23)
HSLhsl(87, 65%, 26%)
HSVhsv(87, 79%, 43%)
CMYKcmyk(35.8%, 0%, 78.9%, 57.3%)
CIE-LABlab(41.69, -28.19, 40.75)
CIE-LCHlch(41.69, 49.55, 124.68°)
OKLaboklab(48.79% -0.0799 0.0908)
OKLCHoklch(48.79% 0.121 131.3)
XYZxyz(8.1490, 12.3009, 2.7554)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466D17 #3E176D
analogous
#6D6917 #466D17 #1B6D17
triadic
#466D17 #17466D #6D1746
tetradic
#466D17 #176D69 #3E176D #6D171B
square
#466D17 #176D69 #3E176D #6D171B
split-complementary
#466D17 #171B6D #69176D
monochromatic
#101905 #263A0C #466D17 #66A022 #87D22C

Accessibility & contrast

On white

6.07
#466D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#466D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #466D17
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466D17#FFFFFF#000000##FFFFFF
##466D171.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#47685D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #466d17;
/* rgb */ color: rgb(70, 109, 23);
/* oklch */ color: oklch(48.8% 0.121 131.3);
Tailwind
colors: {
  custom: {
    50: '#7d975b',
    500: '#466d17',
    950: '#000000',
  },
}
SCSS
$custom: #466d17;
$custom-light: #7d975b;
$custom-dark: #000000;
JSON
{
  "hex": "#466d17",
  "rgb": {
    "r": 70,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 87.209,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.12094,
    "h": 131.3
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#466D17
secondary
#6B3DA3
accent
#40E88C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #466D17

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

Preview Lab → · Contrast checker → · Palette generator →

#466D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva