#427A16#427A16

#427A16 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.141 H 135.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#427A16
RGBrgb(66, 122, 22)
HSLhsl(94, 69%, 28%)
HSVhsv(94, 82%, 48%)
CMYKcmyk(45.9%, 0%, 82%, 52.2%)
CIE-LABlab(45.82, -35.64, 44.94)
CIE-LCHlch(45.82, 57.36, 128.41°)
OKLaboklab(52.1% -0.0997 0.0995)
OKLCHoklch(52.1% 0.141 135.1)
XYZxyz(9.3509, 15.1347, 3.1875)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A16 #4E167A
analogous
#747A16 #427A16 #167A1C
triadic
#427A16 #16427A #7A1642
tetradic
#427A16 #16747A #4E167A #7A1C16
square
#427A16 #16747A #4E167A #7A1C16
split-complementary
#427A16 #1C167A #7A1674
monochromatic
#0E1A05 #26460D #427A16 #5EAE1F #7BDA31

Accessibility & contrast

On white

5.21
#427A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#427A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A16
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A16#FFFFFF#000000##FFFFFF
##427A161.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #427a16;
/* rgb */ color: rgb(66, 122, 22);
/* oklch */ color: oklch(52.1% 0.141 135.1);
Tailwind
colors: {
  custom: {
    50: '#7ca15d',
    500: '#427a16',
    950: '#000000',
  },
}
SCSS
$custom: #427a16;
$custom-light: #7ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#427a16",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 93.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.14091,
    "h": 135.1
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#427A16
secondary
#7D3DAF
accent
#3CEC9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #427A16

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

Preview Lab → · Contrast checker → · Palette generator →

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