#427817#427817

#427817 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.6% C 0.138 H 134.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#427817
RGBrgb(66, 120, 23)
HSLhsl(93, 68%, 28%)
HSVhsv(93, 81%, 47%)
CMYKcmyk(45%, 0%, 80.8%, 52.9%)
CIE-LABlab(45.15, -34.71, 43.99)
CIE-LCHlch(45.15, 56.03, 128.28°)
OKLaboklab(51.56% -0.0972 0.0977)
OKLCHoklch(51.56% 0.138 134.9)
XYZxyz(9.1177, 14.6525, 3.1582)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427817 #4D1778
analogous
#727817 #427817 #17781C
triadic
#427817 #174278 #781742
tetradic
#427817 #177278 #4D1778 #781C17
square
#427817 #177278 #4D1778 #781C17
split-complementary
#427817 #1C1778 #781772
monochromatic
#0E1A05 #26450D #427817 #5EAB21 #7BD832

Accessibility & contrast

On white

5.34
#427817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#427817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427817
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427817#FFFFFF#000000##FFFFFF
##4278171.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#417366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #427817;
/* rgb */ color: rgb(66, 120, 23);
/* oklch */ color: oklch(51.6% 0.138 134.9);
Tailwind
colors: {
  custom: {
    50: '#7c9f5d',
    500: '#427817',
    950: '#000000',
  },
}
SCSS
$custom: #427817;
$custom-light: #7c9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#427817",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 93.402,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.1378,
    "h": 134.9
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#427817
secondary
#7C3EAD
accent
#3DEB9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427817

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

Preview Lab → · Contrast checker → · Palette generator →

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