#466812#466812

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

Color values

HEX#466812
RGBrgb(70, 104, 18)
HSLhsl(84, 70%, 24%)
HSVhsv(84, 83%, 41%)
CMYKcmyk(32.7%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.99, -26.08, 40.91)
CIE-LCHlch(39.99, 48.51, 122.52°)
OKLaboklab(47.39% -0.0745 0.0903)
OKLCHoklch(47.39% 0.117 129.5)
XYZxyz(7.5853, 11.2462, 2.3432)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466812 #341268
analogous
#685F12 #466812 #1B6812
triadic
#466812 #124668 #681246
tetradic
#466812 #12685F #341268 #68121B
square
#466812 #12685F #341268 #68121B
split-complementary
#466812 #121B68 #5F1268
monochromatic
#121A05 #233409 #466812 #699C1B #8CD024

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##466812#FFFFFF#000000##FFFFFF
##4668121.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)
#6D6000
Deuteranopia (green-blind)
#695D1B
Tritanopia (blue-blind)
#486358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #466812;
/* rgb */ color: rgb(70, 104, 18);
/* oklch */ color: oklch(47.4% 0.117 129.5);
Tailwind
colors: {
  custom: {
    50: '#7d9358',
    500: '#466812',
    950: '#000000',
  },
}
SCSS
$custom: #466812;
$custom-light: #7d9358;
$custom-dark: #000000;
JSON
{
  "hex": "#466812",
  "rgb": {
    "r": 70,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 83.721,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47391,
    "c": 0.11708,
    "h": 129.5
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#466812
secondary
#6036A0
accent
#3BED81
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #466812

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

Preview Lab → · Contrast checker → · Palette generator →

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