#427216#427216

#427216 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 49.9% C 0.130 H 133.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#427216
RGBrgb(66, 114, 22)
HSLhsl(91, 68%, 27%)
HSVhsv(91, 81%, 45%)
CMYKcmyk(42.1%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.14, -32.11, 42.42)
CIE-LCHlch(43.14, 53.20, 127.13°)
OKLaboklab(49.91% -0.0903 0.0942)
OKLCHoklch(49.91% 0.13 133.8)
XYZxyz(8.4088, 13.2504, 2.8734)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427216 #461672
analogous
#707216 #427216 #167218
triadic
#427216 #164272 #721642
tetradic
#427216 #167072 #461672 #721816
square
#427216 #167072 #461672 #721816
split-complementary
#427216 #181672 #721670
monochromatic
#0F1A05 #243F0C #427216 #60A520 #7ED62C

Accessibility & contrast

On white

5.75
#427216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#427216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427216
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427216#FFFFFF#000000##FFFFFF
##4272161.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#426D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #427216;
/* rgb */ color: rgb(66, 114, 22);
/* oklch */ color: oklch(49.9% 0.130 133.8);
Tailwind
colors: {
  custom: {
    50: '#7b9b5b',
    500: '#427216',
    950: '#000000',
  },
}
SCSS
$custom: #427216;
$custom-light: #7b9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#427216",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 91.304,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.13049,
    "h": 133.8
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#427216
secondary
#743CA8
accent
#3DEB98
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427216

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

Preview Lab → · Contrast checker → · Palette generator →

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