#427A12#427A12

#427A12 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.143 H 134.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#427A12
RGBrgb(66, 122, 18)
HSLhsl(92, 74%, 27%)
HSVhsv(92, 85%, 48%)
CMYKcmyk(45.9%, 0%, 85.2%, 52.2%)
CIE-LABlab(45.80, -35.85, 46.14)
CIE-LCHlch(45.80, 58.43, 127.84°)
OKLaboklab(52.08% -0.1006 0.1014)
OKLCHoklch(52.08% 0.143 134.8)
XYZxyz(9.3153, 15.1204, 2.9998)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A12 #4A127A
analogous
#767A12 #427A12 #127A16
triadic
#427A12 #12427A #7A1242
tetradic
#427A12 #12767A #4A127A #7A1612
square
#427A12 #12767A #4A127A #7A1612
split-complementary
#427A12 #16127A #7A1276
monochromatic
#0E1B04 #25450A #427A12 #5FAF1A #7CDF27

Accessibility & contrast

On white

5.22
#427A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#427A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A12
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A12#FFFFFF#000000##FFFFFF
##427A121.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#417567
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #427a12;
/* rgb */ color: rgb(66, 122, 18);
/* oklch */ color: oklch(52.1% 0.143 134.8);
Tailwind
colors: {
  custom: {
    50: '#7ca15b',
    500: '#427a12',
    950: '#000000',
  },
}
SCSS
$custom: #427a12;
$custom-light: #7ca15b;
$custom-dark: #000000;
JSON
{
  "hex": "#427a12",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 18
  },
  "hsl": {
    "h": 92.308,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.14282,
    "h": 134.8
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#427A12
secondary
#7938B0
accent
#37F19B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #427A12

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

Preview Lab → · Contrast checker → · Palette generator →

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