#427518#427518

#427518 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.133 H 134.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#427518
RGBrgb(66, 117, 24)
HSLhsl(93, 66%, 28%)
HSVhsv(93, 79%, 46%)
CMYKcmyk(43.6%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.16, -33.33, 42.69)
CIE-LCHlch(44.16, 54.16, 127.98°)
OKLaboklab(50.74% -0.0934 0.0951)
OKLCHoklch(50.74% 0.133 134.5)
XYZxyz(8.7728, 13.9463, 3.0936)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427518 #4B1875
analogous
#707518 #427518 #18751C
triadic
#427518 #184275 #751842
tetradic
#427518 #187075 #4B1875 #751C18
square
#427518 #187075 #4B1875 #751C18
split-complementary
#427518 #1C1875 #751870
monochromatic
#0E1905 #25420E #427518 #5FA822 #7CD532

Accessibility & contrast

On white

5.54
#427518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#427518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427518
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427518#FFFFFF#000000##FFFFFF
##4275181.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#417063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #427518;
/* rgb */ color: rgb(66, 117, 24);
/* oklch */ color: oklch(50.7% 0.133 134.5);
Tailwind
colors: {
  custom: {
    50: '#7b9d5d',
    500: '#427518',
    950: '#000000',
  },
}
SCSS
$custom: #427518;
$custom-light: #7b9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#427518",
  "rgb": {
    "r": 66,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 92.903,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.13332,
    "h": 134.5
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#427518
secondary
#7A3FAA
accent
#3FE99C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427518

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

Preview Lab → · Contrast checker → · Palette generator →

#427518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva