#467217#467217

#467217 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.128 H 132.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#467217
RGBrgb(70, 114, 23)
HSLhsl(89, 66%, 27%)
HSVhsv(89, 80%, 45%)
CMYKcmyk(38.6%, 0%, 79.8%, 55.3%)
CIE-LABlab(43.36, -30.53, 42.35)
CIE-LCHlch(43.36, 52.21, 125.79°)
OKLaboklab(50.15% -0.0862 0.0942)
OKLCHoklch(50.15% 0.128 132.5)
XYZxyz(8.6976, 13.3982, 2.9383)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#467217 #431772
analogous
#727117 #467217 #197217
triadic
#467217 #174672 #721746
tetradic
#467217 #177271 #431772 #721719
square
#467217 #177271 #431772 #721719
split-complementary
#467217 #171972 #711772
monochromatic
#101905 #273F0D #467217 #65A521 #84D52E

Accessibility & contrast

On white

5.71
#467217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#467217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #467217
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##467217#FFFFFF#000000##FFFFFF
##4672171.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776902
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#476D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #467217;
/* rgb */ color: rgb(70, 114, 23);
/* oklch */ color: oklch(50.1% 0.128 132.5);
Tailwind
colors: {
  custom: {
    50: '#7e9b5c',
    500: '#467217',
    950: '#000000',
  },
}
SCSS
$custom: #467217;
$custom-light: #7e9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#467217",
  "rgb": {
    "r": 70,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 89.011,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.12767,
    "h": 132.5
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#467217
secondary
#713DA8
accent
#3EE991
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #467217

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

Preview Lab → · Contrast checker → · Palette generator →

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