#428112#428112

#428112 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.0% C 0.152 H 135.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#428112
RGBrgb(66, 129, 18)
HSLhsl(94, 76%, 29%)
HSVhsv(94, 86%, 51%)
CMYKcmyk(48.8%, 0%, 86%, 49.4%)
CIE-LABlab(48.14, -38.80, 48.24)
CIE-LCHlch(48.14, 61.91, 128.81°)
OKLaboklab(54% -0.1085 0.1058)
OKLCHoklch(54% 0.152 135.7)
XYZxyz(10.2059, 16.9018, 3.2967)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428112 #511281
analogous
#7A8112 #428112 #12811A
triadic
#428112 #124281 #811242
tetradic
#428112 #127A81 #511281 #811A12
square
#428112 #127A81 #511281 #811A12
split-complementary
#428112 #1A1281 #81127A
monochromatic
#0E1B04 #274B0B #428112 #5DB719 #7AE22C

Accessibility & contrast

On white

4.79
#428112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#428112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428112
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428112#FFFFFF#000000##FFFFFF
##4281121.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#3F7C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #428112;
/* rgb */ color: rgb(66, 129, 18);
/* oklch */ color: oklch(54.0% 0.152 135.7);
Tailwind
colors: {
  custom: {
    50: '#7da65c',
    500: '#428112',
    950: '#000000',
  },
}
SCSS
$custom: #428112;
$custom-light: #7da65c;
$custom-dark: #000000;
JSON
{
  "hex": "#428112",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 94.054,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.15154,
    "h": 135.7
  },
  "luminance": 0.16902
}

Semantic roles & 50–950 ramp

primary
#428112
secondary
#8038B7
accent
#36F2A1
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428112

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

Preview Lab → · Contrast checker → · Palette generator →

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