#427121#427121

#427121 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.122 H 134.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#427121
RGBrgb(66, 113, 33)
HSLhsl(95, 55%, 29%)
HSVhsv(95, 71%, 44%)
CMYKcmyk(41.6%, 0%, 70.8%, 55.7%)
CIE-LABlab(42.88, -30.85, 37.81)
CIE-LCHlch(42.88, 48.80, 129.21°)
OKLaboklab(49.72% -0.086 0.0863)
OKLCHoklch(49.72% 0.122 134.9)
XYZxyz(8.4262, 13.0779, 3.5188)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427121 #502171
analogous
#6A7121 #427121 #217128
triadic
#427121 #214271 #712142
tetradic
#427121 #216A71 #502171 #712821
square
#427121 #216A71 #502171 #712821
split-complementary
#427121 #282171 #71216A
monochromatic
#0E1807 #264213 #427121 #5EA02F #7BC844

Accessibility & contrast

On white

5.81
#427121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#427121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427121
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427121#FFFFFF#000000##FFFFFF
##4271211.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756816
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#416D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #427121;
/* rgb */ color: rgb(66, 113, 33);
/* oklch */ color: oklch(49.7% 0.122 134.9);
Tailwind
colors: {
  custom: {
    50: '#7a9a61',
    500: '#427121',
    950: '#000000',
  },
}
SCSS
$custom: #427121;
$custom-light: #7a9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#427121",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 95.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.12182,
    "h": 134.9
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#427121
secondary
#7F49A5
accent
#4ADEA1
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #427121

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

Preview Lab → · Contrast checker → · Palette generator →

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