#427F22#427F22

#427F22 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.6% C 0.140 H 136.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#427F22
RGBrgb(66, 127, 34)
HSLhsl(99, 58%, 32%)
HSVhsv(99, 73%, 50%)
CMYKcmyk(48%, 0%, 73.2%, 50.2%)
CIE-LABlab(47.56, -36.95, 42.25)
CIE-LCHlch(47.56, 56.13, 131.17°)
OKLaboklab(53.56% -0.1025 0.0958)
OKLCHoklch(53.56% 0.14 136.9)
XYZxyz(10.1246, 16.4518, 4.1551)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F22 #5F227F
analogous
#717F22 #427F22 #227F31
triadic
#427F22 #22427F #7F2242
tetradic
#427F22 #22717F #5F227F #7F3122
square
#427F22 #22717F #5F227F #7F3122
split-complementary
#427F22 #31227F #7F2271
monochromatic
#101E08 #294F15 #427F22 #5BAF2F #79CF4C

Accessibility & contrast

On white

4.89
#427F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#427F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F22
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F22#FFFFFF#000000##FFFFFF
##427F221.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#3F7A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f22;
/* rgb */ color: rgb(66, 127, 34);
/* oklch */ color: oklch(53.6% 0.140 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ca563',
    500: '#427f22',
    950: '#000000',
  },
}
SCSS
$custom: #427f22;
$custom-light: #7ca563;
$custom-dark: #000000;
JSON
{
  "hex": "#427f22",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 99.355,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.14024,
    "h": 136.9
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#427F22
secondary
#8E4BB2
accent
#47E1AC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #427F22

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

Preview Lab → · Contrast checker → · Palette generator →

#427F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva