#427D18#427D18

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

Color values

HEX#427D18
RGBrgb(66, 125, 24)
HSLhsl(95, 68%, 29%)
HSVhsv(95, 81%, 49%)
CMYKcmyk(47.2%, 0%, 80.8%, 51%)
CIE-LABlab(46.83, -36.80, 45.24)
CIE-LCHlch(46.83, 58.32, 129.13°)
OKLaboklab(52.94% -0.1028 0.1005)
OKLCHoklch(52.94% 0.144 135.6)
XYZxyz(9.7450, 15.8908, 3.4177)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D18 #53187D
analogous
#757D18 #427D18 #187D21
triadic
#427D18 #18427D #7D1842
tetradic
#427D18 #18757D #53187D #7D2118
square
#427D18 #18757D #53187D #7D2118
split-complementary
#427D18 #21187D #7D1875
monochromatic
#0E1A05 #274A0E #427D18 #5DB022 #7AD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427D18#FFFFFF#000000##FFFFFF
##427D181.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)
#7A6D23
Tritanopia (blue-blind)
#40786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d18;
/* rgb */ color: rgb(66, 125, 24);
/* oklch */ color: oklch(52.9% 0.144 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca35e',
    500: '#427d18',
    950: '#000000',
  },
}
SCSS
$custom: #427d18;
$custom-light: #7ca35e;
$custom-dark: #000000;
JSON
{
  "hex": "#427d18",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 95.05,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52939,
    "c": 0.14371,
    "h": 135.6
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #427D18

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

Preview Lab → · Contrast checker → · Palette generator →

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