#427F1E#427F1E

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

Color values

HEX#427F1E
RGBrgb(66, 127, 30)
HSLhsl(98, 62%, 31%)
HSVhsv(98, 76%, 50%)
CMYKcmyk(48%, 0%, 76.4%, 50.2%)
CIE-LABlab(47.53, -37.26, 43.79)
CIE-LCHlch(47.53, 57.50, 130.39°)
OKLaboklab(53.53% -0.1036 0.0984)
OKLCHoklch(53.53% 0.143 136.5)
XYZxyz(10.0702, 16.4301, 3.8687)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F1E #5B1E7F
analogous
#727F1E #427F1E #1E7F2A
triadic
#427F1E #1E427F #7F1E42
tetradic
#427F1E #1E727F #5B1E7F #7F2A1E
square
#427F1E #1E727F #5B1E7F #7F2A1E
split-complementary
#427F1E #2A1E7F #7F1E72
monochromatic
#0F1C07 #284D12 #427F1E #5CB12A #79D344

Accessibility & contrast

On white

4.90
#427F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#427F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F1E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F1E#FFFFFF#000000##FFFFFF
##427F1E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740B
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#3F7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f1e;
/* rgb */ color: rgb(66, 127, 30);
/* oklch */ color: oklch(53.5% 0.143 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ca561',
    500: '#427f1e',
    950: '#000000',
  },
}
SCSS
$custom: #427f1e;
$custom-light: #7ca561;
$custom-dark: #000000;
JSON
{
  "hex": "#427f1e",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 97.732,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.14284,
    "h": 136.5
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#427F1E
secondary
#8A47B2
accent
#43E5A9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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