#427D20#427D20

#427D20 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.139 H 136.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#427D20
RGBrgb(66, 125, 32)
HSLhsl(98, 59%, 31%)
HSVhsv(98, 74%, 49%)
CMYKcmyk(47.2%, 0%, 74.4%, 51%)
CIE-LABlab(46.88, -36.26, 42.36)
CIE-LCHlch(46.88, 55.76, 130.56°)
OKLaboklab(53% -0.1007 0.0957)
OKLCHoklch(53% 0.139 136.5)
XYZxyz(9.8408, 15.9291, 3.9223)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D20 #5B207D
analogous
#707D20 #427D20 #207D2D
triadic
#427D20 #20427D #7D2042
tetradic
#427D20 #20707D #5B207D #7D2D20
square
#427D20 #20707D #5B207D #7D2D20
split-complementary
#427D20 #2D207D #7D2070
monochromatic
#0F1C07 #284C14 #427D20 #5CAE2C #79D047

Accessibility & contrast

On white

5.02
#427D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#427D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427D20
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D20#FFFFFF#000000##FFFFFF
##427D201.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#3F786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d20;
/* rgb */ color: rgb(66, 125, 32);
/* oklch */ color: oklch(53.0% 0.139 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ca362',
    500: '#427d20',
    950: '#000000',
  },
}
SCSS
$custom: #427d20;
$custom-light: #7ca362;
$custom-dark: #000000;
JSON
{
  "hex": "#427d20",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 98.065,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.13893,
    "h": 136.5
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#427D20
secondary
#8A49B0
accent
#45E2A9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427D20

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

Preview Lab → · Contrast checker → · Palette generator →

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