#537217#537217

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

Color values

HEX#537217
RGBrgb(83, 114, 23)
HSLhsl(80, 66%, 27%)
HSVhsv(80, 80%, 45%)
CMYKcmyk(27.2%, 0%, 79.8%, 55.3%)
CIE-LABlab(44.14, -25.25, 43.37)
CIE-LCHlch(44.14, 50.19, 120.21°)
OKLaboklab(50.99% -0.0727 0.096)
OKLCHoklch(50.99% 0.12 127.2)
XYZxyz(9.7393, 13.9353, 2.9871)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#537217 #361772
analogous
#726417 #537217 #257217
triadic
#537217 #175372 #721753
tetradic
#537217 #177264 #361772 #721725
square
#537217 #177264 #361772 #721725
split-complementary
#537217 #172572 #641772
monochromatic
#131905 #2E3F0D #537217 #78A521 #9CD52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##537217#FFFFFF#000000##FFFFFF
##5372171.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)
#786A02
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#566C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #537217;
/* rgb */ color: rgb(83, 114, 23);
/* oklch */ color: oklch(51.0% 0.120 127.2);
Tailwind
colors: {
  custom: {
    50: '#879a5c',
    500: '#537217',
    950: '#000000',
  },
}
SCSS
$custom: #537217;
$custom-light: #879a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#537217",
  "rgb": {
    "r": 83,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 80.44,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.12044,
    "h": 127.2
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#537217
secondary
#613DA8
accent
#3EE979
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #537217

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

Preview Lab → · Contrast checker → · Palette generator →

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