#427C22#427C22

#427C22 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.136 H 136.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#427C22
RGBrgb(66, 124, 34)
HSLhsl(99, 57%, 31%)
HSVhsv(99, 73%, 49%)
CMYKcmyk(46.8%, 0%, 72.6%, 51.4%)
CIE-LABlab(46.56, -35.67, 41.23)
CIE-LCHlch(46.56, 54.51, 130.86°)
OKLaboklab(52.74% -0.099 0.0936)
OKLCHoklch(52.74% 0.136 136.6)
XYZxyz(9.7429, 15.6884, 4.0279)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427C22 #5C227C
analogous
#6F7C22 #427C22 #227C2F
triadic
#427C22 #22427C #7C2242
tetradic
#427C22 #226F7C #5C227C #7C2F22
square
#427C22 #226F7C #5C227C #7C2F22
split-complementary
#427C22 #2F227C #7C226F
monochromatic
#0F1C08 #284C15 #427C22 #5CAC2F #79CE4B

Accessibility & contrast

On white

5.08
#427C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#427C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427C22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427C22#FFFFFF#000000##FFFFFF
##427C221.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#3F776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427c22;
/* rgb */ color: rgb(66, 124, 34);
/* oklch */ color: oklch(52.7% 0.136 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ca263',
    500: '#427c22',
    950: '#000000',
  },
}
SCSS
$custom: #427c22;
$custom-light: #7ca263;
$custom-dark: #000000;
JSON
{
  "hex": "#427c22",
  "rgb": {
    "r": 66,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 98.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.13623,
    "h": 136.6
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#427C22
secondary
#8B4BAF
accent
#48E0AA
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427C22

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

Preview Lab → · Contrast checker → · Palette generator →

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