#427D21#427D21

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

Color values

HEX#427D21
RGBrgb(66, 125, 33)
HSLhsl(98, 58%, 31%)
HSVhsv(98, 74%, 49%)
CMYKcmyk(47.2%, 0%, 73.6%, 51%)
CIE-LABlab(46.89, -36.18, 41.97)
CIE-LCHlch(46.89, 55.41, 130.76°)
OKLaboklab(53.01% -0.1004 0.095)
OKLCHoklch(53.01% 0.138 136.6)
XYZxyz(9.8546, 15.9347, 3.9950)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D21 #5C217D
analogous
#707D21 #427D21 #217D2E
triadic
#427D21 #21427D #7D2142
tetradic
#427D21 #21707D #5C217D #7D2E21
square
#427D21 #21707D #5C217D #7D2E21
split-complementary
#427D21 #2E217D #7D2170
monochromatic
#0F1C07 #284D14 #427D21 #5CAD2E #79CF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427D21#FFFFFF#000000##FFFFFF
##427D211.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)
#817212
Deuteranopia (green-blind)
#7A6D2A
Tritanopia (blue-blind)
#3F786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d21;
/* rgb */ color: rgb(66, 125, 33);
/* oklch */ color: oklch(53.0% 0.138 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ca362',
    500: '#427d21',
    950: '#000000',
  },
}
SCSS
$custom: #427d21;
$custom-light: #7ca362;
$custom-dark: #000000;
JSON
{
  "hex": "#427d21",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 98.478,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.13826,
    "h": 136.6
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#427D21
secondary
#8B4AB0
accent
#46E1AA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427D21

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

Preview Lab → · Contrast checker → · Palette generator →

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