#427720#427720

#427720 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.4% C 0.131 H 135.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#427720
RGBrgb(66, 119, 32)
HSLhsl(97, 58%, 30%)
HSVhsv(97, 73%, 47%)
CMYKcmyk(44.5%, 0%, 73.1%, 53.3%)
CIE-LABlab(44.88, -33.64, 40.32)
CIE-LCHlch(44.88, 52.51, 129.84°)
OKLaboklab(51.36% -0.0936 0.0914)
OKLCHoklch(51.36% 0.131 135.7)
XYZxyz(9.1041, 14.4557, 3.6767)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427720 #552077
analogous
#6E7720 #427720 #20772A
triadic
#427720 #204277 #772042
tetradic
#427720 #206E77 #552077 #772A20
square
#427720 #206E77 #552077 #772A20
split-complementary
#427720 #2A2077 #77206E
monochromatic
#0D1806 #274713 #427720 #5DA72D #7ACD45

Accessibility & contrast

On white

5.40
#427720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#427720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427720
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427720#FFFFFF#000000##FFFFFF
##4277201.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#407266
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #427720;
/* rgb */ color: rgb(66, 119, 32);
/* oklch */ color: oklch(51.4% 0.131 135.7);
Tailwind
colors: {
  custom: {
    50: '#7b9f61',
    500: '#427720',
    950: '#000000',
  },
}
SCSS
$custom: #427720;
$custom-light: #7b9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#427720",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 96.552,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.13087,
    "h": 135.7
  },
  "luminance": 0.14456
}

Semantic roles & 50–950 ramp

primary
#427720
secondary
#8448AA
accent
#47E1A5
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #427720

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

Preview Lab → · Contrast checker → · Palette generator →

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