#427E1D#427E1D

#427E1D is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.142 H 136.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#427E1D
RGBrgb(66, 126, 29)
HSLhsl(97, 63%, 30%)
HSVhsv(97, 77%, 49%)
CMYKcmyk(47.6%, 0%, 77%, 50.6%)
CIE-LABlab(47.19, -36.91, 43.83)
CIE-LCHlch(47.19, 57.30, 130.10°)
OKLaboklab(53.25% -0.1027 0.0983)
OKLCHoklch(53.25% 0.142 136.3)
XYZxyz(9.9291, 16.1680, 3.7597)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E1D #591D7E
analogous
#737E1D #427E1D #1D7E28
triadic
#427E1D #1D427E #7E1D42
tetradic
#427E1D #1D737E #591D7E #7E281D
square
#427E1D #1D737E #591D7E #7E281D
split-complementary
#427E1D #281D7E #7E1D73
monochromatic
#0E1B06 #284C12 #427E1D #5CB028 #79D342

Accessibility & contrast

On white

4.96
#427E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#427E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E1D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E1D#FFFFFF#000000##FFFFFF
##427E1D1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#3F796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e1d;
/* rgb */ color: rgb(66, 126, 29);
/* oklch */ color: oklch(53.2% 0.142 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ca460',
    500: '#427e1d',
    950: '#000000',
  },
}
SCSS
$custom: #427e1d;
$custom-light: #7ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#427e1d",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 97.113,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.14216,
    "h": 136.3
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#427E1D
secondary
#8845B1
accent
#42E6A7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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