#427211#427211

#427211 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.133 H 133.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#427211
RGBrgb(66, 114, 17)
HSLhsl(90, 74%, 26%)
HSVhsv(90, 85%, 45%)
CMYKcmyk(42.1%, 0%, 85.1%, 55.3%)
CIE-LABlab(43.11, -32.39, 44.00)
CIE-LCHlch(43.11, 54.64, 126.35°)
OKLaboklab(49.88% -0.0913 0.0967)
OKLCHoklch(49.88% 0.133 133.4)
XYZxyz(8.3651, 13.2329, 2.6437)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427211 #411172
analogous
#727111 #427211 #117211
triadic
#427211 #114272 #721142
tetradic
#427211 #117271 #411172 #721111
square
#427211 #117271 #411172 #721111
split-complementary
#427211 #111172 #711172
monochromatic
#0F1B04 #233D09 #427211 #61A719 #80DD21

Accessibility & contrast

On white

5.76
#427211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#427211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427211
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427211#FFFFFF#000000##FFFFFF
##4272111.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#426D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #427211;
/* rgb */ color: rgb(66, 114, 17);
/* oklch */ color: oklch(49.9% 0.133 133.4);
Tailwind
colors: {
  custom: {
    50: '#7b9b59',
    500: '#427211',
    950: '#000000',
  },
}
SCSS
$custom: #427211;
$custom-light: #7b9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#427211",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 89.691,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.13305,
    "h": 133.4
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#427211
secondary
#6F36A9
accent
#37F193
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427211

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

Preview Lab → · Contrast checker → · Palette generator →

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