#427220#427220

#427220 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.124 H 134.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#427220
RGBrgb(66, 114, 32)
HSLhsl(95, 56%, 29%)
HSVhsv(95, 72%, 45%)
CMYKcmyk(42.1%, 0%, 71.9%, 55.3%)
CIE-LABlab(43.21, -31.39, 38.59)
CIE-LCHlch(43.21, 49.74, 129.13°)
OKLaboklab(49.99% -0.0875 0.0878)
OKLCHoklch(49.99% 0.124 134.9)
XYZxyz(8.5246, 13.2967, 3.4836)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427220 #502072
analogous
#6B7220 #427220 #207227
triadic
#427220 #204272 #722042
tetradic
#427220 #206B72 #502072 #722720
square
#427220 #206B72 #502072 #722720
split-complementary
#427220 #272072 #72206B
monochromatic
#0E1807 #264213 #427220 #5EA22D #7BCA42

Accessibility & contrast

On white

5.74
#427220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#427220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427220
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427220#FFFFFF#000000##FFFFFF
##4272201.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766914
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#416E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #427220;
/* rgb */ color: rgb(66, 114, 32);
/* oklch */ color: oklch(50.0% 0.124 134.9);
Tailwind
colors: {
  custom: {
    50: '#7b9b60',
    500: '#427220',
    950: '#000000',
  },
}
SCSS
$custom: #427220;
$custom-light: #7b9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#427220",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 95.122,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.12398,
    "h": 134.9
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#427220
secondary
#7F48A6
accent
#48DFA1
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #427220

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

Preview Lab → · Contrast checker → · Palette generator →

#427220 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva