#427317#427317

#427317 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.131 H 134.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#427317
RGBrgb(66, 115, 23)
HSLhsl(92, 67%, 27%)
HSVhsv(92, 80%, 45%)
CMYKcmyk(42.6%, 0%, 80%, 54.9%)
CIE-LABlab(43.48, -32.50, 42.39)
CIE-LCHlch(43.48, 53.42, 127.48°)
OKLaboklab(50.19% -0.0912 0.0943)
OKLCHoklch(50.19% 0.131 134)
XYZxyz(8.5320, 13.4811, 2.9630)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427317 #481773
analogous
#707317 #427317 #17731A
triadic
#427317 #174273 #731742
tetradic
#427317 #177073 #481773 #731A17
square
#427317 #177073 #481773 #731A17
split-complementary
#427317 #1A1773 #731770
monochromatic
#0F1A05 #25400D #427317 #5FA621 #7DD52F

Accessibility & contrast

On white

5.68
#427317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#427317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427317
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427317#FFFFFF#000000##FFFFFF
##4273171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#426E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #427317;
/* rgb */ color: rgb(66, 115, 23);
/* oklch */ color: oklch(50.2% 0.131 134.0);
Tailwind
colors: {
  custom: {
    50: '#7b9b5c',
    500: '#427317',
    950: '#000000',
  },
}
SCSS
$custom: #427317;
$custom-light: #7b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427317",
  "rgb": {
    "r": 66,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 91.957,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.13124,
    "h": 134
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#427317
secondary
#763DA9
accent
#3EEA99
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427317

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

Preview Lab → · Contrast checker → · Palette generator →

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