#466312#466312

#466312 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.0% C 0.110 H 127.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#466312
RGBrgb(70, 99, 18)
HSLhsl(81, 69%, 23%)
HSVhsv(81, 82%, 39%)
CMYKcmyk(29.3%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.32, -23.60, 39.35)
CIE-LCHlch(38.32, 45.88, 120.95°)
OKLaboklab(46.03% -0.0678 0.087)
OKLCHoklch(46.03% 0.11 127.9)
XYZxyz(7.0968, 10.2693, 2.1804)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466312 #2F1263
analogous
#635712 #466312 #1E6312
triadic
#466312 #124663 #631246
tetradic
#466312 #126357 #2F1263 #63121E
square
#466312 #126357 #2F1263 #63121E
split-complementary
#466312 #121E63 #571263
monochromatic
#121A05 #212F09 #466312 #6B971B #8FCB25

Accessibility & contrast

On white

6.88
#466312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#466312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #466312
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466312#FFFFFF#000000##FFFFFF
##4663121.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#645A1A
Tritanopia (blue-blind)
#495E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #466312;
/* rgb */ color: rgb(70, 99, 18);
/* oklch */ color: oklch(46.0% 0.110 127.9);
Tailwind
colors: {
  custom: {
    50: '#7d8f57',
    500: '#466312',
    950: '#000000',
  },
}
SCSS
$custom: #466312;
$custom-light: #7d8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#466312",
  "rgb": {
    "r": 70,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 81.481,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.11031,
    "h": 127.9
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#466312
secondary
#5A369B
accent
#3CEC7B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #466312

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

Preview Lab → · Contrast checker → · Palette generator →

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