#466815#466815

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

Color values

HEX#466815
RGBrgb(70, 104, 21)
HSLhsl(85, 66%, 25%)
HSVhsv(85, 80%, 41%)
CMYKcmyk(32.7%, 0%, 79.8%, 59.2%)
CIE-LABlab(40.01, -25.90, 39.87)
CIE-LCHlch(40.01, 47.54, 123.01°)
OKLaboklab(47.41% -0.0738 0.0886)
OKLCHoklch(47.41% 0.115 129.8)
XYZxyz(7.6114, 11.2566, 2.4810)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466815 #371568
analogous
#686115 #466815 #1D6815
triadic
#466815 #154668 #681546
tetradic
#466815 #156861 #371568 #68151D
square
#466815 #156861 #371568 #68151D
split-complementary
#466815 #151D68 #611568
monochromatic
#111905 #24350B #466815 #689B1F #8BCE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##466815#FFFFFF#000000##FFFFFF
##4668151.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)
#6D6003
Deuteranopia (green-blind)
#695D1D
Tritanopia (blue-blind)
#486358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #466815;
/* rgb */ color: rgb(70, 104, 21);
/* oklch */ color: oklch(47.4% 0.115 129.8);
Tailwind
colors: {
  custom: {
    50: '#7d935a',
    500: '#466815',
    950: '#000000',
  },
}
SCSS
$custom: #466815;
$custom-light: #7d935a;
$custom-dark: #000000;
JSON
{
  "hex": "#466815",
  "rgb": {
    "r": 70,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 84.578,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.11534,
    "h": 129.8
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#466815
secondary
#633A9F
accent
#3EE984
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #466815

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

Preview Lab → · Contrast checker → · Palette generator →

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