#428F12#428F12

#428F12 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.168 H 137.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#428F12
RGBrgb(66, 143, 18)
HSLhsl(97, 78%, 32%)
HSVhsv(97, 87%, 56%)
CMYKcmyk(53.8%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.78, -44.40, 52.36)
CIE-LCHlch(52.78, 68.65, 130.30°)
OKLaboklab(57.83% -0.1234 0.1145)
OKLCHoklch(57.83% 0.168 137.1)
XYZxyz(12.1780, 20.8459, 3.9541)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428F12 #5F128F
analogous
#818F12 #428F12 #128F21
triadic
#428F12 #12428F #8F1242
tetradic
#428F12 #12818F #5F128F #8F2112
square
#428F12 #12818F #5F128F #8F2112
split-complementary
#428F12 #21128F #8F1281
monochromatic
#102204 #29590B #428F12 #5BC519 #79E636

Accessibility & contrast

On white

4.06
#428F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#428F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428F12
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428F12#FFFFFF#000000##000000
##428F121.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#3D8A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #428f12;
/* rgb */ color: rgb(66, 143, 18);
/* oklch */ color: oklch(57.8% 0.168 137.1);
Tailwind
colors: {
  custom: {
    50: '#7fb05f',
    500: '#428f12',
    950: '#000000',
  },
}
SCSS
$custom: #428f12;
$custom-light: #7fb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#428f12",
  "rgb": {
    "r": 66,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 96.96,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57827,
    "c": 0.1684,
    "h": 137.1
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#428F12
secondary
#8E3AC3
accent
#34F4AA
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #428F12

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

Preview Lab → · Contrast checker → · Palette generator →

#428F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva