#427117#427117

#427117 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.129 H 133.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#427117
RGBrgb(66, 113, 23)
HSLhsl(91, 66%, 27%)
HSVhsv(91, 80%, 44%)
CMYKcmyk(41.6%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.81, -31.60, 41.75)
CIE-LCHlch(42.81, 52.36, 127.12°)
OKLaboklab(49.64% -0.0888 0.093)
OKLCHoklch(49.64% 0.129 133.7)
XYZxyz(8.3064, 13.0300, 2.8878)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427117 #461771
analogous
#6F7117 #427117 #177119
triadic
#427117 #174271 #711742
tetradic
#427117 #176F71 #461771 #711917
square
#427117 #176F71 #461771 #711917
split-complementary
#427117 #191771 #71176F
monochromatic
#0F1905 #243E0D #427117 #60A421 #7ED42E

Accessibility & contrast

On white

5.82
#427117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#427117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427117
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427117#FFFFFF#000000##FFFFFF
##4271171.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766703
Deuteranopia (green-blind)
#6F6420
Tritanopia (blue-blind)
#426C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #427117;
/* rgb */ color: rgb(66, 113, 23);
/* oklch */ color: oklch(49.6% 0.129 133.7);
Tailwind
colors: {
  custom: {
    50: '#7b9a5c',
    500: '#427117',
    950: '#000000',
  },
}
SCSS
$custom: #427117;
$custom-light: #7b9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427117",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 91.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.12859,
    "h": 133.7
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#427117
secondary
#743DA7
accent
#3FE998
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427117

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

Preview Lab → · Contrast checker → · Palette generator →

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