#427E15#427E15

#427E15 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.146 H 135.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#427E15
RGBrgb(66, 126, 21)
HSLhsl(94, 71%, 29%)
HSVhsv(94, 83%, 49%)
CMYKcmyk(47.6%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.15, -37.40, 46.49)
CIE-LCHlch(47.15, 59.66, 128.81°)
OKLaboklab(53.2% -0.1045 0.1026)
OKLCHoklch(53.2% 0.146 135.5)
XYZxyz(9.8427, 16.1335, 3.3048)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E15 #51157E
analogous
#777E15 #427E15 #157E1D
triadic
#427E15 #15427E #7E1542
tetradic
#427E15 #15777E #51157E #7E1D15
square
#427E15 #15777E #51157E #7E1D15
split-complementary
#427E15 #1D157E #7E1577
monochromatic
#0E1A04 #274A0C #427E15 #5DB21E #7ADD31

Accessibility & contrast

On white

4.97
#427E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #427E15
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E15#FFFFFF#000000##FFFFFF
##427E151.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#40796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e15;
/* rgb */ color: rgb(66, 126, 21);
/* oklch */ color: oklch(53.2% 0.146 135.5);
Tailwind
colors: {
  custom: {
    50: '#7da45d',
    500: '#427e15',
    950: '#000000',
  },
}
SCSS
$custom: #427e15;
$custom-light: #7da45d;
$custom-dark: #000000;
JSON
{
  "hex": "#427e15",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 94.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.14648,
    "h": 135.5
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#427E15
secondary
#803CB3
accent
#3AEEA1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E15

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

Preview Lab → · Contrast checker → · Palette generator →

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