#427221#427221

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

Color values

HEX#427221
RGBrgb(66, 114, 33)
HSLhsl(96, 55%, 29%)
HSVhsv(96, 71%, 45%)
CMYKcmyk(42.1%, 0%, 71.1%, 55.3%)
CIE-LABlab(43.22, -31.31, 38.16)
CIE-LCHlch(43.22, 49.36, 129.36°)
OKLaboklab(50% -0.0872 0.087)
OKLCHoklch(50% 0.123 135.1)
XYZxyz(8.5384, 13.3022, 3.5562)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427221 #512172
analogous
#6B7221 #427221 #217229
triadic
#427221 #214272 #722142
tetradic
#427221 #216B72 #512172 #722921
square
#427221 #216B72 #512172 #722921
split-complementary
#427221 #292172 #72216B
monochromatic
#0E1807 #274313 #427221 #5DA12F #7AC944

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427221#FFFFFF#000000##FFFFFF
##4272211.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)
#766915
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#416E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #427221;
/* rgb */ color: rgb(66, 114, 33);
/* oklch */ color: oklch(50.0% 0.123 135.1);
Tailwind
colors: {
  custom: {
    50: '#7b9b61',
    500: '#427221',
    950: '#000000',
  },
}
SCSS
$custom: #427221;
$custom-light: #7b9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#427221",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 95.556,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.12322,
    "h": 135.1
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#427221
secondary
#8049A5
accent
#49DEA2
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #427221

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

Preview Lab → · Contrast checker → · Palette generator →

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