#536217#536217

#536217 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.8% C 0.099 H 120.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#536217
RGBrgb(83, 98, 23)
HSLhsl(72, 62%, 24%)
HSVhsv(72, 77%, 38%)
CMYKcmyk(15.3%, 0%, 76.5%, 61.6%)
CIE-LABlab(38.96, -16.96, 38.39)
CIE-LCHlch(38.96, 41.97, 113.83°)
OKLaboklab(46.8% -0.05 0.0855)
OKLCHoklch(46.8% 0.099 120.3)
XYZxyz(8.0898, 10.6363, 2.4373)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#536217 #261762
analogous
#624B17 #536217 #2D6217
triadic
#536217 #175362 #621753
tetradic
#536217 #17624B #261762 #62172D
square
#536217 #17624B #261762 #62172D
split-complementary
#536217 #172D62 #4B1762
monochromatic
#151906 #29300B #536217 #7D9423 #A7C52E

Accessibility & contrast

On white

6.72
#536217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#536217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #536217
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##536217#FFFFFF#000000##FFFFFF
##5362171.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C09
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#585C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #536217;
/* rgb */ color: rgb(83, 98, 23);
/* oklch */ color: oklch(46.8% 0.099 120.3);
Tailwind
colors: {
  custom: {
    50: '#868e5a',
    500: '#536217',
    950: '#000000',
  },
}
SCSS
$custom: #536217;
$custom-light: #868e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#536217",
  "rgb": {
    "r": 83,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 72,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46801,
    "c": 0.0991,
    "h": 120.3
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#536217
secondary
#4F3C99
accent
#43E563
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #536217

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

Preview Lab → · Contrast checker → · Palette generator →

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