#466818#466818

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

Color values

HEX#466818
RGBrgb(70, 104, 24)
HSLhsl(86, 63%, 25%)
HSVhsv(86, 77%, 41%)
CMYKcmyk(32.7%, 0%, 76.9%, 59.2%)
CIE-LABlab(40.03, -25.71, 38.74)
CIE-LCHlch(40.03, 46.50, 123.57°)
OKLaboklab(47.43% -0.073 0.0868)
OKLCHoklch(47.43% 0.113 130.1)
XYZxyz(7.6409, 11.2684, 2.6364)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466818 #3A1868
analogous
#686218 #466818 #1E6818
triadic
#466818 #184668 #681846
tetradic
#466818 #186862 #3A1868 #68181E
square
#466818 #186862 #3A1868 #68181E
split-complementary
#466818 #181E68 #621868
monochromatic
#111906 #25360D #466818 #679A23 #89CB2F

Accessibility & contrast

On white

6.45
#466818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #466818
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466818#FFFFFF#000000##FFFFFF
##4668181.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6009
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#486359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #466818;
/* rgb */ color: rgb(70, 104, 24);
/* oklch */ color: oklch(47.4% 0.113 130.1);
Tailwind
colors: {
  custom: {
    50: '#7d935b',
    500: '#466818',
    950: '#000000',
  },
}
SCSS
$custom: #466818;
$custom-light: #7d935b;
$custom-dark: #000000;
JSON
{
  "hex": "#466818",
  "rgb": {
    "r": 70,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 85.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47433,
    "c": 0.11343,
    "h": 130.1
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#466818
secondary
#673E9E
accent
#42E688
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #466818

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

Preview Lab → · Contrast checker → · Palette generator →

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