#426D17#426D17

#426D17 is a mid, vivid yellow-green. Relative luminance 0.122; OKLCH L 48.5% C 0.123 H 132.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#426D17
RGBrgb(66, 109, 23)
HSLhsl(90, 65%, 26%)
HSVhsv(90, 79%, 43%)
CMYKcmyk(39.4%, 0%, 78.9%, 57.3%)
CIE-LABlab(41.46, -29.76, 40.45)
CIE-LCHlch(41.46, 50.22, 126.34°)
OKLaboklab(48.54% -0.0838 0.0903)
OKLCHoklch(48.54% 0.123 132.9)
XYZxyz(7.8699, 12.1570, 2.7423)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426D17 #42176D
analogous
#6D6D17 #426D17 #176D17
triadic
#426D17 #17426D #6D1742
tetradic
#426D17 #176D6D #42176D #6D1717
square
#426D17 #176D6D #42176D #6D1717
split-complementary
#426D17 #17176D #6D176D
monochromatic
#0F1905 #233A0C #426D17 #61A022 #7FD22C

Accessibility & contrast

On white

6.12
#426D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#426D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426D17
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426D17#FFFFFF#000000##FFFFFF
##426D171.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#42685D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #426d17;
/* rgb */ color: rgb(66, 109, 23);
/* oklch */ color: oklch(48.5% 0.123 132.9);
Tailwind
colors: {
  custom: {
    50: '#7b975b',
    500: '#426d17',
    950: '#000000',
  },
}
SCSS
$custom: #426d17;
$custom-light: #7b975b;
$custom-dark: #000000;
JSON
{
  "hex": "#426d17",
  "rgb": {
    "r": 66,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.12321,
    "h": 132.9
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#426D17
secondary
#703DA3
accent
#40E894
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #426D17

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

Preview Lab → · Contrast checker → · Palette generator →

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