#427517#427517

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

Color values

HEX#427517
RGBrgb(66, 117, 23)
HSLhsl(93, 67%, 27%)
HSVhsv(93, 80%, 46%)
CMYKcmyk(43.6%, 0%, 80.3%, 54.1%)
CIE-LABlab(44.15, -33.39, 43.03)
CIE-LCHlch(44.15, 54.47, 127.81°)
OKLaboklab(50.74% -0.0936 0.0957)
OKLCHoklch(50.74% 0.134 134.4)
XYZxyz(8.7625, 13.9422, 3.0399)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427517 #4A1775
analogous
#717517 #427517 #17751B
triadic
#427517 #174275 #751742
tetradic
#427517 #177175 #4A1775 #751B17
square
#427517 #177175 #4A1775 #751B17
split-complementary
#427517 #1B1775 #751771
monochromatic
#0E1A05 #25420D #427517 #5FA821 #7CD630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427517#FFFFFF#000000##FFFFFF
##4275171.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)
#7A6B01
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#417063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #427517;
/* rgb */ color: rgb(66, 117, 23);
/* oklch */ color: oklch(50.7% 0.134 134.4);
Tailwind
colors: {
  custom: {
    50: '#7b9d5c',
    500: '#427517',
    950: '#000000',
  },
}
SCSS
$custom: #427517;
$custom-light: #7b9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427517",
  "rgb": {
    "r": 66,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 92.553,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.13388,
    "h": 134.4
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#427517
secondary
#793DAA
accent
#3EEA9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427517

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

Preview Lab → · Contrast checker → · Palette generator →

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