#427A22#427A22

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

Color values

HEX#427A22
RGBrgb(66, 122, 34)
HSLhsl(98, 56%, 31%)
HSVhsv(98, 72%, 48%)
CMYKcmyk(45.9%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.90, -34.80, 40.54)
CIE-LCHlch(45.90, 53.42, 130.64°)
OKLaboklab(52.19% -0.0966 0.0922)
OKLCHoklch(52.19% 0.134 136.4)
XYZxyz(9.4948, 15.1922, 3.9452)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A22 #5A227A
analogous
#6E7A22 #427A22 #227A2E
triadic
#427A22 #22427A #7A2242
tetradic
#427A22 #226E7A #5A227A #7A2E22
square
#427A22 #226E7A #5A227A #7A2E22
split-complementary
#427A22 #2E227A #7A226E
monochromatic
#0E1A07 #284A15 #427A22 #5CAA2F #79CD4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427A22#FFFFFF#000000##FFFFFF
##427A221.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)
#7E7015
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a22;
/* rgb */ color: rgb(66, 122, 34);
/* oklch */ color: oklch(52.2% 0.134 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ca163',
    500: '#427a22',
    950: '#000000',
  },
}
SCSS
$custom: #427a22;
$custom-light: #7ca163;
$custom-dark: #000000;
JSON
{
  "hex": "#427a22",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 98.182,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.13353,
    "h": 136.4
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#427A22
secondary
#894BAD
accent
#48E0A9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #427A22

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

Preview Lab → · Contrast checker → · Palette generator →

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