#427A1A#427A1A

#427A1A is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.1% C 0.139 H 135.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#427A1A
RGBrgb(66, 122, 26)
HSLhsl(95, 65%, 29%)
HSVhsv(95, 79%, 48%)
CMYKcmyk(45.9%, 0%, 78.7%, 52.2%)
CIE-LABlab(45.84, -35.39, 43.60)
CIE-LCHlch(45.84, 56.16, 129.07°)
OKLaboklab(52.13% -0.0988 0.0974)
OKLCHoklch(52.13% 0.139 135.4)
XYZxyz(9.3925, 15.1513, 3.4067)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A1A #521A7A
analogous
#727A1A #427A1A #1A7A22
triadic
#427A1A #1A427A #7A1A42
tetradic
#427A1A #1A727A #521A7A #7A221A
square
#427A1A #1A727A #521A7A #7A221A
split-complementary
#427A1A #221A7A #7A1A72
monochromatic
#0E1905 #27480F #427A1A #5DAC25 #7AD539

Accessibility & contrast

On white

5.21
#427A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#427A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A1A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A1A#FFFFFF#000000##FFFFFF
##427A1A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F04
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a1a;
/* rgb */ color: rgb(66, 122, 26);
/* oklch */ color: oklch(52.1% 0.139 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ca15e',
    500: '#427a1a',
    950: '#000000',
  },
}
SCSS
$custom: #427a1a;
$custom-light: #7ca15e;
$custom-dark: #000000;
JSON
{
  "hex": "#427a1a",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 95,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.13872,
    "h": 135.4
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#427A1A
secondary
#8141AE
accent
#40E8A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #427A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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