#466817#466817

#466817 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.4% C 0.114 H 130.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#466817
RGBrgb(70, 104, 23)
HSLhsl(85, 64%, 25%)
HSVhsv(85, 78%, 41%)
CMYKcmyk(32.7%, 0%, 77.9%, 59.2%)
CIE-LABlab(40.02, -25.78, 39.13)
CIE-LCHlch(40.02, 46.85, 123.38°)
OKLaboklab(47.43% -0.0733 0.0874)
OKLCHoklch(47.43% 0.114 130)
XYZxyz(7.6307, 11.2643, 2.5826)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466817 #391768
analogous
#686217 #466817 #1E6817
triadic
#466817 #174668 #681746
tetradic
#466817 #176862 #391768 #68171E
square
#466817 #176862 #391768 #68171E
split-complementary
#466817 #171E68 #621768
monochromatic
#111906 #24360C #466817 #689A22 #89CC2D

Accessibility & contrast

On white

6.46
#466817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#466817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #466817
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466817#FFFFFF#000000##FFFFFF
##4668171.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#486358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #466817;
/* rgb */ color: rgb(70, 104, 23);
/* oklch */ color: oklch(47.4% 0.114 130.0);
Tailwind
colors: {
  custom: {
    50: '#7d935a',
    500: '#466817',
    950: '#000000',
  },
}
SCSS
$custom: #466817;
$custom-light: #7d935a;
$custom-dark: #000000;
JSON
{
  "hex": "#466817",
  "rgb": {
    "r": 70,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 85.185,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47425,
    "c": 0.11409,
    "h": 130
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#466817
secondary
#663D9E
accent
#41E787
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #466817

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

Preview Lab → · Contrast checker → · Palette generator →

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