#427A1D#427A1D

#427A1D is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.137 H 135.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#427A1D
RGBrgb(66, 122, 29)
HSLhsl(96, 62%, 30%)
HSVhsv(96, 76%, 48%)
CMYKcmyk(45.9%, 0%, 76.2%, 52.2%)
CIE-LABlab(45.86, -35.19, 42.51)
CIE-LCHlch(45.86, 55.18, 129.62°)
OKLaboklab(52.15% -0.098 0.0955)
OKLCHoklch(52.15% 0.137 135.7)
XYZxyz(9.4278, 15.1655, 3.5926)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A1D #551D7A
analogous
#717A1D #427A1D #1D7A27
triadic
#427A1D #1D427A #7A1D42
tetradic
#427A1D #1D717A #551D7A #7A271D
square
#427A1D #1D717A #551D7A #7A271D
split-complementary
#427A1D #271D7A #7A1D71
monochromatic
#0D1906 #274911 #427A1D #5DAB29 #7AD240

Accessibility & contrast

On white

5.21
#427A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#427A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A1D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A1D#FFFFFF#000000##FFFFFF
##427A1D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F0B
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a1d;
/* rgb */ color: rgb(66, 122, 29);
/* oklch */ color: oklch(52.2% 0.137 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ca160',
    500: '#427a1d',
    950: '#000000',
  },
}
SCSS
$custom: #427a1d;
$custom-light: #7ca160;
$custom-dark: #000000;
JSON
{
  "hex": "#427a1d",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 96.129,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.13689,
    "h": 135.7
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#427A1D
secondary
#8445AE
accent
#43E5A4
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #427A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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