#467917#467917

#467917 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.137 H 133.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#467917
RGBrgb(70, 121, 23)
HSLhsl(91, 68%, 28%)
HSVhsv(91, 81%, 47%)
CMYKcmyk(42.1%, 0%, 81%, 52.5%)
CIE-LABlab(45.69, -33.71, 44.56)
CIE-LCHlch(45.69, 55.87, 127.10°)
OKLaboklab(52.05% -0.0948 0.0988)
OKLCHoklch(52.05% 0.137 133.8)
XYZxyz(9.5176, 15.0382, 3.2116)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#467917 #4A1779
analogous
#777917 #467917 #177919
triadic
#467917 #174679 #791746
tetradic
#467917 #177779 #4A1779 #791917
square
#467917 #177779 #4A1779 #791917
split-complementary
#467917 #191779 #791777
monochromatic
#0F1A05 #28460D #467917 #64AC21 #82D832

Accessibility & contrast

On white

5.24
#467917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#467917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #467917
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##467917#FFFFFF#000000##FFFFFF
##4679171.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#467467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #467917;
/* rgb */ color: rgb(70, 121, 23);
/* oklch */ color: oklch(52.1% 0.137 133.8);
Tailwind
colors: {
  custom: {
    50: '#7fa05d',
    500: '#467917',
    950: '#000000',
  },
}
SCSS
$custom: #467917;
$custom-light: #7fa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#467917",
  "rgb": {
    "r": 70,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 91.224,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.1369,
    "h": 133.8
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#467917
secondary
#783EAE
accent
#3DEB97
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #467917

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

Preview Lab → · Contrast checker → · Palette generator →

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