#427A17#427A17

#427A17 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.140 H 135.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#427A17
RGBrgb(66, 122, 23)
HSLhsl(94, 68%, 28%)
HSVhsv(94, 81%, 48%)
CMYKcmyk(45.9%, 0%, 81.1%, 52.2%)
CIE-LABlab(45.82, -35.58, 44.62)
CIE-LCHlch(45.82, 57.07, 128.57°)
OKLaboklab(52.11% -0.0995 0.099)
OKLCHoklch(52.11% 0.14 135.2)
XYZxyz(9.3607, 15.1386, 3.2393)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A17 #4F177A
analogous
#737A17 #427A17 #177A1D
triadic
#427A17 #17427A #7A1742
tetradic
#427A17 #17737A #4F177A #7A1D17
square
#427A17 #17737A #4F177A #7A1D17
split-complementary
#427A17 #1D177A #7A1773
monochromatic
#0E1A05 #26470D #427A17 #5EAD21 #7BD933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427A17#FFFFFF#000000##FFFFFF
##427A171.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)
#7F6F00
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #427a17;
/* rgb */ color: rgb(66, 122, 23);
/* oklch */ color: oklch(52.1% 0.140 135.2);
Tailwind
colors: {
  custom: {
    50: '#7ca15d',
    500: '#427a17',
    950: '#000000',
  },
}
SCSS
$custom: #427a17;
$custom-light: #7ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#427a17",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 93.939,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5211,
    "c": 0.14038,
    "h": 135.2
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#427A17
secondary
#7E3EAF
accent
#3DEB9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #427A17

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

Preview Lab → · Contrast checker → · Palette generator →

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