#427B1A#427B1A

#427B1A is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.140 H 135.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#427B1A
RGBrgb(66, 123, 26)
HSLhsl(95, 65%, 29%)
HSVhsv(95, 79%, 48%)
CMYKcmyk(46.3%, 0%, 78.9%, 51.8%)
CIE-LABlab(46.17, -35.82, 43.92)
CIE-LCHlch(46.17, 56.68, 129.20°)
OKLaboklab(52.4% -0.1 0.098)
OKLCHoklch(52.4% 0.14 135.6)
XYZxyz(9.5159, 15.3982, 3.4478)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427B1A #531A7B
analogous
#737B1A #427B1A #1A7B23
triadic
#427B1A #1A427B #7B1A42
tetradic
#427B1A #1A737B #531A7B #7B231A
square
#427B1A #1A737B #531A7B #7B231A
split-complementary
#427B1A #231A7B #7B1A73
monochromatic
#0E1905 #27480F #427B1A #5DAE25 #7AD53A

Accessibility & contrast

On white

5.15
#427B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#427B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427B1A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427B1A#FFFFFF#000000##FFFFFF
##427B1A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807004
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#407669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427b1a;
/* rgb */ color: rgb(66, 123, 26);
/* oklch */ color: oklch(52.4% 0.140 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca25f',
    500: '#427b1a',
    950: '#000000',
  },
}
SCSS
$custom: #427b1a;
$custom-light: #7ca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#427b1a",
  "rgb": {
    "r": 66,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 95.258,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.14002,
    "h": 135.6
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#427B1A
secondary
#8242AF
accent
#40E8A3
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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