#427428#427428

#427428 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.6% C 0.120 H 136.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#427428
RGBrgb(66, 116, 40)
HSLhsl(99, 49%, 31%)
HSVhsv(99, 66%, 45%)
CMYKcmyk(43.1%, 0%, 65.5%, 54.5%)
CIE-LABlab(43.95, -31.56, 35.76)
CIE-LCHlch(43.95, 47.70, 131.43°)
OKLaboklab(50.61% -0.0874 0.0829)
OKLCHoklch(50.61% 0.12 136.5)
XYZxyz(8.8749, 13.8017, 4.2034)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427428 #5A2874
analogous
#687428 #427428 #287434
triadic
#427428 #284274 #742842
tetradic
#427428 #286874 #5A2874 #743428
square
#427428 #286874 #5A2874 #743428
split-complementary
#427428 #342874 #742868
monochromatic
#0E1909 #284618 #427428 #5CA238 #79C453

Accessibility & contrast

On white

5.58
#427428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#427428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427428
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427428#FFFFFF#000000##FFFFFF
##4274281.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1F
Deuteranopia (green-blind)
#71662E
Tritanopia (blue-blind)
#407064
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #427428;
/* rgb */ color: rgb(66, 116, 40);
/* oklch */ color: oklch(50.6% 0.120 136.5);
Tailwind
colors: {
  custom: {
    50: '#7a9c65',
    500: '#427428',
    950: '#000000',
  },
}
SCSS
$custom: #427428;
$custom-light: #7a9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#427428",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 99.474,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.12042,
    "h": 136.5
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#427428
secondary
#8952A6
accent
#50D8A9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #427428

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

Preview Lab → · Contrast checker → · Palette generator →

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