#466217#466217

#466217 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.8% C 0.106 H 128.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#466217
RGBrgb(70, 98, 23)
HSLhsl(82, 62%, 24%)
HSVhsv(82, 77%, 38%)
CMYKcmyk(28.6%, 0%, 76.5%, 61.6%)
CIE-LABlab(38.02, -22.78, 37.15)
CIE-LCHlch(38.02, 43.58, 121.52°)
OKLaboklab(45.8% -0.0652 0.0833)
OKLCHoklch(45.8% 0.106 128)
XYZxyz(7.0481, 10.0992, 2.3884)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466217 #331762
analogous
#625817 #466217 #206217
triadic
#466217 #174662 #621746
tetradic
#466217 #176258 #331762 #621720
square
#466217 #176258 #331762 #621720
split-complementary
#466217 #172062 #581762
monochromatic
#121906 #23300B #466217 #699423 #8DC52E

Accessibility & contrast

On white

6.95
#466217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#466217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #466217
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466217#FFFFFF#000000##FFFFFF
##4662171.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#495D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #466217;
/* rgb */ color: rgb(70, 98, 23);
/* oklch */ color: oklch(45.8% 0.106 128.0);
Tailwind
colors: {
  custom: {
    50: '#7c8e5a',
    500: '#466217',
    950: '#000000',
  },
}
SCSS
$custom: #466217;
$custom-light: #7c8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#466217",
  "rgb": {
    "r": 70,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 82.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.10573,
    "h": 128
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#466217
secondary
#5F3C99
accent
#43E57F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #466217

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

Preview Lab → · Contrast checker → · Palette generator →

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