#427E18#427E18

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

Color values

HEX#427E18
RGBrgb(66, 126, 24)
HSLhsl(95, 68%, 29%)
HSVhsv(95, 81%, 49%)
CMYKcmyk(47.6%, 0%, 81%, 50.6%)
CIE-LABlab(47.16, -37.23, 45.56)
CIE-LCHlch(47.16, 58.83, 129.26°)
OKLaboklab(53.21% -0.1039 0.1011)
OKLCHoklch(53.21% 0.145 135.8)
XYZxyz(9.8722, 16.1453, 3.4601)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E18 #54187E
analogous
#757E18 #427E18 #187E21
triadic
#427E18 #18427E #7E1842
tetradic
#427E18 #18757E #54187E #7E2118
square
#427E18 #18757E #54187E #7E2118
split-complementary
#427E18 #21187E #7E1875
monochromatic
#0D1A05 #274B0E #427E18 #5DB122 #7AD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427E18#FFFFFF#000000##FFFFFF
##427E181.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)
#7B6E23
Tritanopia (blue-blind)
#40796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e18;
/* rgb */ color: rgb(66, 126, 24);
/* oklch */ color: oklch(53.2% 0.145 135.8);
Tailwind
colors: {
  custom: {
    50: '#7da45e',
    500: '#427e18',
    950: '#000000',
  },
}
SCSS
$custom: #427e18;
$custom-light: #7da45e;
$custom-dark: #000000;
JSON
{
  "hex": "#427e18",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 95.294,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.14498,
    "h": 135.8
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#427E18
secondary
#833FB2
accent
#3DEBA3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E18

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

Preview Lab → · Contrast checker → · Palette generator →

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