#427F15#427F15

#427F15 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.148 H 135.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#427F15
RGBrgb(66, 127, 21)
HSLhsl(95, 72%, 29%)
HSVhsv(95, 83%, 50%)
CMYKcmyk(48%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.48, -37.82, 46.80)
CIE-LCHlch(47.48, 60.17, 128.94°)
OKLaboklab(53.47% -0.1057 0.1033)
OKLCHoklch(53.47% 0.148 135.7)
XYZxyz(9.9712, 16.3905, 3.3476)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F15 #52157F
analogous
#777F15 #427F15 #157F1D
triadic
#427F15 #15427F #7F1542
tetradic
#427F15 #15777F #52157F #7F1D15
square
#427F15 #15777F #52157F #7F1D15
split-complementary
#427F15 #1D157F #7F1577
monochromatic
#0E1A04 #274A0C #427F15 #5DB41E #7ADD31

Accessibility & contrast

On white

4.91
#427F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#427F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F15
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F15#FFFFFF#000000##FFFFFF
##427F151.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#407A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f15;
/* rgb */ color: rgb(66, 127, 21);
/* oklch */ color: oklch(53.5% 0.148 135.7);
Tailwind
colors: {
  custom: {
    50: '#7da55d',
    500: '#427f15',
    950: '#000000',
  },
}
SCSS
$custom: #427f15;
$custom-light: #7da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#427f15",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 94.528,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.14775,
    "h": 135.7
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#427F15
secondary
#813CB4
accent
#39EEA2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427F15

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

Preview Lab → · Contrast checker → · Palette generator →

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