#427E22#427E22

#427E22 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.139 H 136.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#427E22
RGBrgb(66, 126, 34)
HSLhsl(99, 58%, 31%)
HSVhsv(99, 73%, 49%)
CMYKcmyk(47.6%, 0%, 73%, 50.6%)
CIE-LABlab(47.23, -36.53, 41.91)
CIE-LCHlch(47.23, 55.60, 131.07°)
OKLaboklab(53.29% -0.1013 0.095)
OKLCHoklch(53.29% 0.139 136.8)
XYZxyz(9.9961, 16.1948, 4.1123)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E22 #5E227E
analogous
#707E22 #427E22 #227E30
triadic
#427E22 #22427E #7E2242
tetradic
#427E22 #22707E #5E227E #7E3022
square
#427E22 #22707E #5E227E #7E3022
split-complementary
#427E22 #30227E #7E2270
monochromatic
#101E08 #294E15 #427E22 #5BAE2F #79CF4C

Accessibility & contrast

On white

4.95
#427E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#427E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E22
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E22#FFFFFF#000000##FFFFFF
##427E221.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#3F796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e22;
/* rgb */ color: rgb(66, 126, 34);
/* oklch */ color: oklch(53.3% 0.139 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ca463',
    500: '#427e22',
    950: '#000000',
  },
}
SCSS
$custom: #427e22;
$custom-light: #7ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#427e22",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 99.13,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.13891,
    "h": 136.8
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#427E22
secondary
#8D4BB1
accent
#47E1AB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427E22

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

Preview Lab → · Contrast checker → · Palette generator →

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