#468D17#468D17

#468D17 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.5% C 0.162 H 136.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#468D17
RGBrgb(70, 141, 23)
HSLhsl(96, 72%, 32%)
HSVhsv(96, 84%, 55%)
CMYKcmyk(50.4%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.30, -42.15, 50.68)
CIE-LCHlch(52.30, 65.92, 129.75°)
OKLaboklab(57.48% -0.1174 0.1117)
OKLCHoklch(57.48% 0.162 136.4)
XYZxyz(12.2050, 20.4129, 4.1074)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468D17 #5E178D
analogous
#818D17 #468D17 #178D23
triadic
#468D17 #17468D #8D1746
tetradic
#468D17 #17818D #5E178D #8D2317
square
#468D17 #17818D #5E178D #8D2317
split-complementary
#468D17 #23178D #8D1781
monochromatic
#122406 #2C580E #468D17 #60C220 #7FE03F

Accessibility & contrast

On white

4.13
#468D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#468D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #468D17
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468D17#FFFFFF#000000##000000
##468D171.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#428878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #468d17;
/* rgb */ color: rgb(70, 141, 23);
/* oklch */ color: oklch(57.5% 0.162 136.4);
Tailwind
colors: {
  custom: {
    50: '#81af60',
    500: '#468d17',
    950: '#000000',
  },
}
SCSS
$custom: #468d17;
$custom-light: #81af60;
$custom-dark: #000000;
JSON
{
  "hex": "#468d17",
  "rgb": {
    "r": 70,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 96.102,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57483,
    "c": 0.16205,
    "h": 136.4
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#468D17
secondary
#8D40C0
accent
#39EFA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #468D17

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

Preview Lab → · Contrast checker → · Palette generator →

#468D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva