#466512#466512

#466512 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.6% C 0.113 H 128.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#466512
RGBrgb(70, 101, 18)
HSLhsl(82, 70%, 23%)
HSVhsv(82, 82%, 40%)
CMYKcmyk(30.7%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.99, -24.60, 39.97)
CIE-LCHlch(38.99, 46.94, 121.61°)
OKLaboklab(46.58% -0.0705 0.0883)
OKLCHoklch(46.58% 0.113 128.6)
XYZxyz(7.2886, 10.6529, 2.2444)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466512 #311265
analogous
#655A12 #466512 #1C6512
triadic
#466512 #124665 #651246
tetradic
#466512 #12655A #311265 #65121C
square
#466512 #12655A #311265 #65121C
split-complementary
#466512 #121C65 #5A1265
monochromatic
#121A05 #223109 #466512 #6A991B #8ECD25

Accessibility & contrast

On white

6.71
#466512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#466512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #466512
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466512#FFFFFF#000000##FFFFFF
##4665121.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#496056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #466512;
/* rgb */ color: rgb(70, 101, 18);
/* oklch */ color: oklch(46.6% 0.113 128.6);
Tailwind
colors: {
  custom: {
    50: '#7d9158',
    500: '#466512',
    950: '#000000',
  },
}
SCSS
$custom: #466512;
$custom-light: #7d9158;
$custom-dark: #000000;
JSON
{
  "hex": "#466512",
  "rgb": {
    "r": 70,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 82.41,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.11303,
    "h": 128.6
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#466512
secondary
#5C369D
accent
#3BED7D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #466512

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

Preview Lab → · Contrast checker → · Palette generator →

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