#427E17#427E17

#427E17 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.145 H 135.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#427E17
RGBrgb(66, 126, 23)
HSLhsl(95, 69%, 29%)
HSVhsv(95, 82%, 49%)
CMYKcmyk(47.6%, 0%, 81.7%, 50.6%)
CIE-LABlab(47.16, -37.29, 45.88)
CIE-LCHlch(47.16, 59.12, 129.10°)
OKLaboklab(53.21% -0.1041 0.1016)
OKLCHoklch(53.21% 0.146 135.7)
XYZxyz(9.8620, 16.1412, 3.4063)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E17 #53177E
analogous
#767E17 #427E17 #177E1F
triadic
#427E17 #17427E #7E1742
tetradic
#427E17 #17767E #53177E #7E1F17
square
#427E17 #17767E #53177E #7E1F17
split-complementary
#427E17 #1F177E #7E1776
monochromatic
#0E1A05 #274A0E #427E17 #5DB220 #7ADA35

Accessibility & contrast

On white

4.97
#427E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#427E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E17#FFFFFF#000000##FFFFFF
##427E171.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#40796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e17;
/* rgb */ color: rgb(66, 126, 23);
/* oklch */ color: oklch(53.2% 0.145 135.7);
Tailwind
colors: {
  custom: {
    50: '#7da45e',
    500: '#427e17',
    950: '#000000',
  },
}
SCSS
$custom: #427e17;
$custom-light: #7da45e;
$custom-dark: #000000;
JSON
{
  "hex": "#427e17",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 94.951,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.1455,
    "h": 135.7
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#427E17
secondary
#823EB3
accent
#3CECA2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E17

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

Preview Lab → · Contrast checker → · Palette generator →

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