#427816#427816

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

Color values

HEX#427816
RGBrgb(66, 120, 22)
HSLhsl(93, 69%, 28%)
HSVhsv(93, 82%, 47%)
CMYKcmyk(45%, 0%, 81.7%, 52.9%)
CIE-LABlab(45.15, -34.77, 44.32)
CIE-LCHlch(45.15, 56.33, 128.12°)
OKLaboklab(51.55% -0.0974 0.0982)
OKLCHoklch(51.55% 0.138 134.8)
XYZxyz(9.1079, 14.6486, 3.1065)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427816 #4C1678
analogous
#737816 #427816 #16781B
triadic
#427816 #164278 #781642
tetradic
#427816 #167378 #4C1678 #781B16
square
#427816 #167378 #4C1678 #781B16
split-complementary
#427816 #1B1678 #781673
monochromatic
#0E1A05 #26440D #427816 #5EAC1F #7CD92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427816#FFFFFF#000000##FFFFFF
##4278161.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)
#766921
Tritanopia (blue-blind)
#417366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #427816;
/* rgb */ color: rgb(66, 120, 22);
/* oklch */ color: oklch(51.6% 0.138 134.8);
Tailwind
colors: {
  custom: {
    50: '#7c9f5c',
    500: '#427816',
    950: '#000000',
  },
}
SCSS
$custom: #427816;
$custom-light: #7c9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427816",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 93.061,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51555,
    "c": 0.13833,
    "h": 134.8
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#427816
secondary
#7B3CAD
accent
#3CEC9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427816

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

Preview Lab → · Contrast checker → · Palette generator →

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