#427D14#427D14

#427D14 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.146 H 135.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#427D14
RGBrgb(66, 125, 20)
HSLhsl(94, 72%, 28%)
HSVhsv(94, 84%, 49%)
CMYKcmyk(47.2%, 0%, 84%, 51%)
CIE-LABlab(46.81, -37.03, 46.48)
CIE-LCHlch(46.81, 59.43, 128.54°)
OKLaboklab(52.92% -0.1036 0.1024)
OKLCHoklch(52.92% 0.146 135.3)
XYZxyz(9.7064, 15.8754, 3.2145)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D14 #4F147D
analogous
#767D14 #427D14 #147D1A
triadic
#427D14 #14427D #7D1442
tetradic
#427D14 #14767D #4F147D #7D1A14
square
#427D14 #14767D #4F147D #7D1A14
split-complementary
#427D14 #1A147D #7D1476
monochromatic
#0E1A04 #26480C #427D14 #5EB21C #7BDE2E

Accessibility & contrast

On white

5.03
#427D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#427D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427D14
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D14#FFFFFF#000000##FFFFFF
##427D141.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#40786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d14;
/* rgb */ color: rgb(66, 125, 20);
/* oklch */ color: oklch(52.9% 0.146 135.3);
Tailwind
colors: {
  custom: {
    50: '#7da35c',
    500: '#427d14',
    950: '#000000',
  },
}
SCSS
$custom: #427d14;
$custom-light: #7da35c;
$custom-dark: #000000;
JSON
{
  "hex": "#427d14",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 93.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.14569,
    "h": 135.3
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#427D14
secondary
#7E3AB2
accent
#39EF9F
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #427D14

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

Preview Lab → · Contrast checker → · Palette generator →

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