#427B16#427B16

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

Color values

HEX#427B16
RGBrgb(66, 123, 22)
HSLhsl(94, 70%, 28%)
HSVhsv(94, 82%, 48%)
CMYKcmyk(46.3%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.15, -36.07, 45.26)
CIE-LCHlch(46.15, 57.87, 128.55°)
OKLaboklab(52.38% -0.1009 0.1002)
OKLCHoklch(52.38% 0.142 135.2)
XYZxyz(9.4743, 15.3815, 3.2286)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427B16 #4F167B
analogous
#747B16 #427B16 #167B1C
triadic
#427B16 #16427B #7B1642
tetradic
#427B16 #16747B #4F167B #7B1C16
square
#427B16 #16747B #4F167B #7B1C16
split-complementary
#427B16 #1C167B #7B1674
monochromatic
#0E1A05 #26470D #427B16 #5EAF1F #7BDA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427B16#FFFFFF#000000##FFFFFF
##427B161.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)
#807000
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#407668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427b16;
/* rgb */ color: rgb(66, 123, 22);
/* oklch */ color: oklch(52.4% 0.142 135.2);
Tailwind
colors: {
  custom: {
    50: '#7ca25d',
    500: '#427b16',
    950: '#000000',
  },
}
SCSS
$custom: #427b16;
$custom-light: #7ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#427b16",
  "rgb": {
    "r": 66,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 93.861,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.14219,
    "h": 135.2
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#427B16
secondary
#7E3DB0
accent
#3BEC9F
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427B16

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

Preview Lab → · Contrast checker → · Palette generator →

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