#427316#427316

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

Color values

HEX#427316
RGBrgb(66, 115, 22)
HSLhsl(92, 68%, 27%)
HSVhsv(92, 81%, 45%)
CMYKcmyk(42.6%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.47, -32.56, 42.74)
CIE-LCHlch(43.47, 53.73, 127.30°)
OKLaboklab(50.18% -0.0915 0.0949)
OKLCHoklch(50.18% 0.132 134)
XYZxyz(8.5222, 13.4772, 2.9112)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427316 #471673
analogous
#717316 #427316 #167319
triadic
#427316 #164273 #731642
tetradic
#427316 #167173 #471673 #731916
square
#427316 #167173 #471673 #731916
split-complementary
#427316 #191673 #731671
monochromatic
#0F1A05 #25400C #427316 #5FA620 #7DD72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427316#FFFFFF#000000##FFFFFF
##4273161.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)
#786900
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#426E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #427316;
/* rgb */ color: rgb(66, 115, 22);
/* oklch */ color: oklch(50.2% 0.132 134.0);
Tailwind
colors: {
  custom: {
    50: '#7b9b5c',
    500: '#427316',
    950: '#000000',
  },
}
SCSS
$custom: #427316;
$custom-light: #7b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427316",
  "rgb": {
    "r": 66,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 91.613,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.13181,
    "h": 134
  },
  "luminance": 0.13478
}

Semantic roles & 50–950 ramp

primary
#427316
secondary
#753CA9
accent
#3DEB99
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427316

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

Preview Lab → · Contrast checker → · Palette generator →

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