#466F17#466F17

#466F17 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.3% C 0.124 H 131.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#466F17
RGBrgb(70, 111, 23)
HSLhsl(88, 66%, 26%)
HSVhsv(88, 79%, 44%)
CMYKcmyk(36.9%, 0%, 79.3%, 56.5%)
CIE-LABlab(42.36, -29.14, 41.39)
CIE-LCHlch(42.36, 50.62, 125.14°)
OKLaboklab(49.33% -0.0824 0.0922)
OKLCHoklch(49.33% 0.124 131.8)
XYZxyz(8.3648, 12.7325, 2.8273)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#466F17 #40176F
analogous
#6F6C17 #466F17 #1A6F17
triadic
#466F17 #17466F #6F1746
tetradic
#466F17 #176F6C #40176F #6F171A
square
#466F17 #176F6C #40176F #6F171A
split-complementary
#466F17 #171A6F #6C176F
monochromatic
#101905 #263C0C #466F17 #66A222 #86D32D

Accessibility & contrast

On white

5.92
#466F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#466F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #466F17
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##466F17#FFFFFF#000000##FFFFFF
##466F171.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#476A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #466f17;
/* rgb */ color: rgb(70, 111, 23);
/* oklch */ color: oklch(49.3% 0.124 131.8);
Tailwind
colors: {
  custom: {
    50: '#7d985b',
    500: '#466f17',
    950: '#000000',
  },
}
SCSS
$custom: #466f17;
$custom-light: #7d985b;
$custom-dark: #000000;
JSON
{
  "hex": "#466f17",
  "rgb": {
    "r": 70,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 87.955,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49329,
    "c": 0.12365,
    "h": 131.8
  },
  "luminance": 0.12733
}

Semantic roles & 50–950 ramp

primary
#466F17
secondary
#6D3DA5
accent
#3FE98E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #466F17

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

Preview Lab → · Contrast checker → · Palette generator →

#466F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva