#427722#427722

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

Color values

HEX#427722
RGBrgb(66, 119, 34)
HSLhsl(97, 56%, 30%)
HSVhsv(97, 71%, 47%)
CMYKcmyk(44.5%, 0%, 71.4%, 53.3%)
CIE-LABlab(44.90, -33.47, 39.49)
CIE-LCHlch(44.90, 51.77, 130.28°)
OKLaboklab(51.37% -0.093 0.09)
OKLCHoklch(51.37% 0.129 136)
XYZxyz(9.1321, 14.4669, 3.8243)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427722 #572277
analogous
#6C7722 #427722 #22772D
triadic
#427722 #224277 #772242
tetradic
#427722 #226C77 #572277 #772D22
square
#427722 #226C77 #572277 #772D22
split-complementary
#427722 #2D2277 #77226C
monochromatic
#0D1807 #284714 #427722 #5CA730 #7ACB49

Accessibility & contrast

On white

5.39
#427722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #427722
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427722#FFFFFF#000000##FFFFFF
##4277221.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#407266
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #427722;
/* rgb */ color: rgb(66, 119, 34);
/* oklch */ color: oklch(51.4% 0.129 136.0);
Tailwind
colors: {
  custom: {
    50: '#7b9f62',
    500: '#427722',
    950: '#000000',
  },
}
SCSS
$custom: #427722;
$custom-light: #7b9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#427722",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 97.412,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.12942,
    "h": 136
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#427722
secondary
#864BAA
accent
#49DFA6
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #427722

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

Preview Lab → · Contrast checker → · Palette generator →

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