#427D17#427D17

#427D17 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.144 H 135.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#427D17
RGBrgb(66, 125, 23)
HSLhsl(95, 69%, 29%)
HSVhsv(95, 82%, 49%)
CMYKcmyk(47.2%, 0%, 81.6%, 51%)
CIE-LABlab(46.83, -36.86, 45.56)
CIE-LCHlch(46.83, 58.61, 128.97°)
OKLaboklab(52.93% -0.103 0.101)
OKLCHoklch(52.93% 0.144 135.6)
XYZxyz(9.7348, 15.8867, 3.3639)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D17 #52177D
analogous
#757D17 #427D17 #177D1F
triadic
#427D17 #17427D #7D1742
tetradic
#427D17 #17757D #52177D #7D1F17
square
#427D17 #17757D #52177D #7D1F17
split-complementary
#427D17 #1F177D #7D1775
monochromatic
#0E1A05 #27490D #427D17 #5DB121 #7ADA35

Accessibility & contrast

On white

5.03
#427D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#427D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427D17
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D17#FFFFFF#000000##FFFFFF
##427D171.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#40786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d17;
/* rgb */ color: rgb(66, 125, 23);
/* oklch */ color: oklch(52.9% 0.144 135.6);
Tailwind
colors: {
  custom: {
    50: '#7da35e',
    500: '#427d17',
    950: '#000000',
  },
}
SCSS
$custom: #427d17;
$custom-light: #7da35e;
$custom-dark: #000000;
JSON
{
  "hex": "#427d17",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 94.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.14423,
    "h": 135.6
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#427D17
secondary
#813EB2
accent
#3CECA2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427D17

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

Preview Lab → · Contrast checker → · Palette generator →

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