#427512#427512

#427512 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.136 H 134.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#427512
RGBrgb(66, 117, 18)
HSLhsl(91, 73%, 26%)
HSVhsv(91, 85%, 46%)
CMYKcmyk(43.6%, 0%, 84.6%, 54.1%)
CIE-LABlab(44.12, -33.67, 44.63)
CIE-LCHlch(44.12, 55.90, 127.04°)
OKLaboklab(50.71% -0.0947 0.0982)
OKLCHoklch(50.71% 0.136 134)
XYZxyz(8.7171, 13.9240, 2.8004)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427512 #451275
analogous
#747512 #427512 #127514
triadic
#427512 #124275 #751242
tetradic
#427512 #127475 #451275 #751412
square
#427512 #127475 #451275 #751412
split-complementary
#427512 #141275 #751274
monochromatic
#0F1B04 #24400A #427512 #60AA1A #7EDD24

Accessibility & contrast

On white

5.55
#427512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#427512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427512
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427512#FFFFFF#000000##FFFFFF
##4275121.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#427063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #427512;
/* rgb */ color: rgb(66, 117, 18);
/* oklch */ color: oklch(50.7% 0.136 134.0);
Tailwind
colors: {
  custom: {
    50: '#7c9d5a',
    500: '#427512',
    950: '#000000',
  },
}
SCSS
$custom: #427512;
$custom-light: #7c9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#427512",
  "rgb": {
    "r": 66,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 90.909,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.13645,
    "h": 134
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#427512
secondary
#7337AC
accent
#38F097
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427512

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

Preview Lab → · Contrast checker → · Palette generator →

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