#427D22#427D22

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

Color values

HEX#427D22
RGBrgb(66, 125, 34)
HSLhsl(99, 57%, 31%)
HSVhsv(99, 73%, 49%)
CMYKcmyk(47.2%, 0%, 72.8%, 51%)
CIE-LABlab(46.90, -36.10, 41.57)
CIE-LCHlch(46.90, 55.06, 130.97°)
OKLaboklab(53.01% -0.1001 0.0943)
OKLCHoklch(53.01% 0.138 136.7)
XYZxyz(9.8688, 15.9404, 4.0698)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D22 #5D227D
analogous
#6F7D22 #427D22 #227D2F
triadic
#427D22 #22427D #7D2242
tetradic
#427D22 #226F7D #5D227D #7D2F22
square
#427D22 #226F7D #5D227D #7D2F22
split-complementary
#427D22 #2F227D #7D226F
monochromatic
#0F1D08 #294D15 #427D22 #5BAD2F #79CE4B

Accessibility & contrast

On white

5.01
#427D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #427D22
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D22#FFFFFF#000000##FFFFFF
##427D221.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#3F786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d22;
/* rgb */ color: rgb(66, 125, 34);
/* oklch */ color: oklch(53.0% 0.138 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ca363',
    500: '#427d22',
    950: '#000000',
  },
}
SCSS
$custom: #427d22;
$custom-light: #7ca363;
$custom-dark: #000000;
JSON
{
  "hex": "#427d22",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 98.901,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.13757,
    "h": 136.7
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#427D22
secondary
#8C4BB0
accent
#47E0AB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427D22

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

Preview Lab → · Contrast checker → · Palette generator →

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