#427417#427417

#427417 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.133 H 134.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#427417
RGBrgb(66, 116, 23)
HSLhsl(92, 67%, 27%)
HSVhsv(92, 80%, 45%)
CMYKcmyk(43.1%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.81, -32.95, 42.71)
CIE-LCHlch(43.81, 53.95, 127.65°)
OKLaboklab(50.46% -0.0924 0.095)
OKLCHoklch(50.46% 0.133 134.2)
XYZxyz(8.6466, 13.7104, 3.0012)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427417 #491774
analogous
#717417 #427417 #17741B
triadic
#427417 #174274 #741742
tetradic
#427417 #177174 #491774 #741B17
square
#427417 #177174 #491774 #741B17
split-complementary
#427417 #1B1774 #741771
monochromatic
#0F1A05 #25410D #427417 #5FA721 #7CD630

Accessibility & contrast

On white

5.61
#427417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#427417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427417
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427417#FFFFFF#000000##FFFFFF
##4274171.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#416F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #427417;
/* rgb */ color: rgb(66, 116, 23);
/* oklch */ color: oklch(50.5% 0.133 134.2);
Tailwind
colors: {
  custom: {
    50: '#7b9c5c',
    500: '#427417',
    950: '#000000',
  },
}
SCSS
$custom: #427417;
$custom-light: #7b9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427417",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 92.258,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.13257,
    "h": 134.2
  },
  "luminance": 0.13711
}

Semantic roles & 50–950 ramp

primary
#427417
secondary
#773DA9
accent
#3EEA9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427417

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

Preview Lab → · Contrast checker → · Palette generator →

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