#427E16#427E16

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

Color values

HEX#427E16
RGBrgb(66, 126, 22)
HSLhsl(95, 70%, 29%)
HSVhsv(95, 83%, 49%)
CMYKcmyk(47.6%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.15, -37.34, 46.19)
CIE-LCHlch(47.15, 59.39, 128.95°)
OKLaboklab(53.2% -0.1043 0.1021)
OKLCHoklch(53.2% 0.146 135.6)
XYZxyz(9.8522, 16.1373, 3.3546)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E16 #52167E
analogous
#767E16 #427E16 #167E1E
triadic
#427E16 #16427E #7E1642
tetradic
#427E16 #16767E #52167E #7E1E16
square
#427E16 #16767E #52167E #7E1E16
split-complementary
#427E16 #1E167E #7E1676
monochromatic
#0E1A05 #274A0D #427E16 #5DB21F #7ADB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427E16#FFFFFF#000000##FFFFFF
##427E161.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)
#7B6E22
Tritanopia (blue-blind)
#40796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e16;
/* rgb */ color: rgb(66, 126, 22);
/* oklch */ color: oklch(53.2% 0.146 135.6);
Tailwind
colors: {
  custom: {
    50: '#7da45d',
    500: '#427e16',
    950: '#000000',
  },
}
SCSS
$custom: #427e16;
$custom-light: #7da45d;
$custom-dark: #000000;
JSON
{
  "hex": "#427e16",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 94.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.146,
    "h": 135.6
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#427E16
secondary
#813DB3
accent
#3BEDA2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E16

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

Preview Lab → · Contrast checker → · Palette generator →

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