#427A20#427A20

#427A20 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.135 H 136.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#427A20
RGBrgb(66, 122, 32)
HSLhsl(97, 58%, 30%)
HSVhsv(97, 74%, 48%)
CMYKcmyk(45.9%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.88, -34.96, 41.35)
CIE-LCHlch(45.88, 54.14, 130.21°)
OKLaboklab(52.18% -0.0972 0.0935)
OKLCHoklch(52.18% 0.135 136.1)
XYZxyz(9.4668, 15.1810, 3.7976)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A20 #58207A
analogous
#6F7A20 #427A20 #207A2B
triadic
#427A20 #20427A #7A2042
tetradic
#427A20 #206F7A #58207A #7A2B20
square
#427A20 #206F7A #58207A #7A2B20
split-complementary
#427A20 #2B207A #7A206F
monochromatic
#0E1907 #284A13 #427A20 #5CAA2D #7ACE46

Accessibility & contrast

On white

5.20
#427A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#427A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A20
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A20#FFFFFF#000000##FFFFFF
##427A201.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7011
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a20;
/* rgb */ color: rgb(66, 122, 32);
/* oklch */ color: oklch(52.2% 0.135 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca161',
    500: '#427a20',
    950: '#000000',
  },
}
SCSS
$custom: #427a20;
$custom-light: #7ca161;
$custom-dark: #000000;
JSON
{
  "hex": "#427a20",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 97.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.13492,
    "h": 136.1
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#427A20
secondary
#8749AD
accent
#46E2A7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #427A20

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

Preview Lab → · Contrast checker → · Palette generator →

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