#427A18#427A18

#427A18 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.140 H 135.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#427A18
RGBrgb(66, 122, 24)
HSLhsl(94, 67%, 29%)
HSVhsv(94, 80%, 48%)
CMYKcmyk(45.9%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.83, -35.52, 44.29)
CIE-LCHlch(45.83, 56.77, 128.73°)
OKLaboklab(52.12% -0.0993 0.0985)
OKLCHoklch(52.12% 0.14 135.2)
XYZxyz(9.3710, 15.1427, 3.2930)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A18 #50187A
analogous
#737A18 #427A18 #187A1F
triadic
#427A18 #18427A #7A1842
tetradic
#427A18 #18737A #50187A #7A1F18
square
#427A18 #18737A #50187A #7A1F18
split-complementary
#427A18 #1F187A #7A1873
monochromatic
#0E1A05 #26470E #427A18 #5EAD22 #7BD735

Accessibility & contrast

On white

5.21
#427A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#427A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A18
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A18#FFFFFF#000000##FFFFFF
##427A181.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #427a18;
/* rgb */ color: rgb(66, 122, 24);
/* oklch */ color: oklch(52.1% 0.140 135.2);
Tailwind
colors: {
  custom: {
    50: '#7ca15d',
    500: '#427a18',
    950: '#000000',
  },
}
SCSS
$custom: #427a18;
$custom-light: #7ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#427a18",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 94.286,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.13985,
    "h": 135.2
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#427A18
secondary
#7F3FAF
accent
#3EEAA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #427A18

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

Preview Lab → · Contrast checker → · Palette generator →

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