#427311#427311

#427311 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.134 H 133.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#427311
RGBrgb(66, 115, 17)
HSLhsl(90, 74%, 26%)
HSVhsv(90, 85%, 45%)
CMYKcmyk(42.6%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.45, -32.83, 44.31)
CIE-LCHlch(43.45, 55.15, 126.54°)
OKLaboklab(50.15% -0.0925 0.0974)
OKLCHoklch(50.15% 0.134 133.5)
XYZxyz(8.4785, 13.4598, 2.6815)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427311 #421173
analogous
#737311 #427311 #117311
triadic
#427311 #114273 #731142
tetradic
#427311 #117373 #421173 #731111
square
#427311 #117373 #421173 #731111
split-complementary
#427311 #111173 #731173
monochromatic
#0F1B04 #233E09 #427311 #61A819 #7FDE21

Accessibility & contrast

On white

5.69
#427311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#427311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427311
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427311#FFFFFF#000000##FFFFFF
##4273111.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#426E61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #427311;
/* rgb */ color: rgb(66, 115, 17);
/* oklch */ color: oklch(50.2% 0.134 133.5);
Tailwind
colors: {
  custom: {
    50: '#7c9b59',
    500: '#427311',
    950: '#000000',
  },
}
SCSS
$custom: #427311;
$custom-light: #7c9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#427311",
  "rgb": {
    "r": 66,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.13434,
    "h": 133.5
  },
  "luminance": 0.1346
}

Semantic roles & 50–950 ramp

primary
#427311
secondary
#7036AA
accent
#37F194
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427311

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

Preview Lab → · Contrast checker → · Palette generator →

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