#427A1B#427A1B

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

Color values

HEX#427A1B
RGBrgb(66, 122, 27)
HSLhsl(95, 64%, 29%)
HSVhsv(95, 78%, 48%)
CMYKcmyk(45.9%, 0%, 77.9%, 52.2%)
CIE-LABlab(45.85, -35.33, 43.24)
CIE-LCHlch(45.85, 55.84, 129.25°)
OKLaboklab(52.14% -0.0986 0.0968)
OKLCHoklch(52.14% 0.138 135.5)
XYZxyz(9.4039, 15.1559, 3.4666)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A1B #531B7A
analogous
#727A1B #427A1B #1B7A23
triadic
#427A1B #1B427A #7A1B42
tetradic
#427A1B #1B727A #531B7A #7A231B
square
#427A1B #1B727A #531B7A #7A231B
split-complementary
#427A1B #231B7A #7A1B72
monochromatic
#0E1906 #274810 #427A1B #5DAC26 #7AD43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427A1B#FFFFFF#000000##FFFFFF
##427A1B1.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)
#7F6F06
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a1b;
/* rgb */ color: rgb(66, 122, 27);
/* oklch */ color: oklch(52.1% 0.138 135.5);
Tailwind
colors: {
  custom: {
    50: '#7ca15f',
    500: '#427a1b',
    950: '#000000',
  },
}
SCSS
$custom: #427a1b;
$custom-light: #7ca15f;
$custom-dark: #000000;
JSON
{
  "hex": "#427a1b",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 95.368,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.13813,
    "h": 135.5
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#427A1B
secondary
#8243AE
accent
#41E7A3
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #427A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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