#427916#427916

#427916 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.140 H 134.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#427916
RGBrgb(66, 121, 22)
HSLhsl(93, 69%, 28%)
HSVhsv(93, 82%, 47%)
CMYKcmyk(45.5%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.48, -35.20, 44.63)
CIE-LCHlch(45.48, 56.84, 128.27°)
OKLaboklab(51.83% -0.0986 0.0989)
OKLCHoklch(51.83% 0.14 134.9)
XYZxyz(9.2288, 14.8904, 3.1468)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427916 #4D1679
analogous
#737916 #427916 #16791B
triadic
#427916 #164279 #791642
tetradic
#427916 #167379 #4D1679 #791B16
square
#427916 #167379 #4D1679 #791B16
split-complementary
#427916 #1B1679 #791673
monochromatic
#0E1A05 #26450D #427916 #5EAD1F #7BD930

Accessibility & contrast

On white

5.28
#427916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#427916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427916
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427916#FFFFFF#000000##FFFFFF
##4279161.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#417467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #427916;
/* rgb */ color: rgb(66, 121, 22);
/* oklch */ color: oklch(51.8% 0.140 134.9);
Tailwind
colors: {
  custom: {
    50: '#7ca05c',
    500: '#427916',
    950: '#000000',
  },
}
SCSS
$custom: #427916;
$custom-light: #7ca05c;
$custom-dark: #000000;
JSON
{
  "hex": "#427916",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 93.333,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.13962,
    "h": 134.9
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#427916
secondary
#7C3DAE
accent
#3CEC9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #427916

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

Preview Lab → · Contrast checker → · Palette generator →

#427916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva