#427C18#427C18

#427C18 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.142 H 135.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#427C18
RGBrgb(66, 124, 24)
HSLhsl(95, 68%, 29%)
HSVhsv(95, 81%, 49%)
CMYKcmyk(46.8%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.50, -36.38, 44.92)
CIE-LCHlch(46.50, 57.81, 129.00°)
OKLaboklab(52.66% -0.1016 0.0998)
OKLCHoklch(52.66% 0.142 135.5)
XYZxyz(9.6191, 15.6389, 3.3757)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427C18 #52187C
analogous
#747C18 #427C18 #187C20
triadic
#427C18 #18427C #7C1842
tetradic
#427C18 #18747C #52187C #7C2018
square
#427C18 #18747C #52187C #7C2018
split-complementary
#427C18 #20187C #7C1874
monochromatic
#0E1A05 #27490E #427C18 #5DAF22 #7AD836

Accessibility & contrast

On white

5.09
#427C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#427C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427C18
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427C18#FFFFFF#000000##FFFFFF
##427C181.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#407769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427c18;
/* rgb */ color: rgb(66, 124, 24);
/* oklch */ color: oklch(52.7% 0.142 135.5);
Tailwind
colors: {
  custom: {
    50: '#7ca25e',
    500: '#427c18',
    950: '#000000',
  },
}
SCSS
$custom: #427c18;
$custom-light: #7ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#427c18",
  "rgb": {
    "r": 66,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 94.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.14243,
    "h": 135.5
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#427C18
secondary
#813FB1
accent
#3DEAA2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427C18

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

Preview Lab → · Contrast checker → · Palette generator →

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