#427F18#427F18

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

Color values

HEX#427F18
RGBrgb(66, 127, 24)
HSLhsl(96, 68%, 30%)
HSVhsv(96, 81%, 50%)
CMYKcmyk(48%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.50, -37.65, 45.87)
CIE-LCHlch(47.50, 59.34, 129.38°)
OKLaboklab(53.49% -0.105 0.1018)
OKLCHoklch(53.49% 0.146 135.9)
XYZxyz(10.0008, 16.4023, 3.5030)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F18 #55187F
analogous
#767F18 #427F18 #187F22
triadic
#427F18 #18427F #7F1842
tetradic
#427F18 #18767F #55187F #7F2218
square
#427F18 #18767F #55187F #7F2218
split-complementary
#427F18 #22187F #7F1876
monochromatic
#0D1A05 #274C0E #427F18 #5DB222 #7AD938

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427F18#FFFFFF#000000##FFFFFF
##427F181.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)
#7C6F24
Tritanopia (blue-blind)
#3F7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f18;
/* rgb */ color: rgb(66, 127, 24);
/* oklch */ color: oklch(53.5% 0.146 135.9);
Tailwind
colors: {
  custom: {
    50: '#7da55e',
    500: '#427f18',
    950: '#000000',
  },
}
SCSS
$custom: #427f18;
$custom-light: #7da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#427f18",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 95.534,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.14625,
    "h": 135.9
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#427F18
secondary
#843FB3
accent
#3DEBA4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427F18

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

Preview Lab → · Contrast checker → · Palette generator →

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