#535F17#535F17

#535F17 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.0% C 0.095 H 118.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#535F17
RGBrgb(83, 95, 23)
HSLhsl(70, 61%, 23%)
HSVhsv(70, 76%, 37%)
CMYKcmyk(12.6%, 0%, 75.8%, 62.7%)
CIE-LABlab(38.00, -15.32, 37.45)
CIE-LCHlch(38.00, 40.46, 112.25°)
OKLaboklab(46.02% -0.0455 0.0835)
OKLCHoklch(46.02% 0.095 118.6)
XYZxyz(7.8143, 10.0853, 2.3454)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535F17 #23175F
analogous
#5F4717 #535F17 #2F5F17
triadic
#535F17 #17535F #5F1753
tetradic
#535F17 #175F47 #23175F #5F172F
square
#535F17 #175F47 #23175F #5F172F
split-complementary
#535F17 #172F5F #47175F
monochromatic
#161906 #282E0B #535F17 #7E9023 #A9C22F

Accessibility & contrast

On white

6.96
#535F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#535F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535F17
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535F17#FFFFFF#000000##FFFFFF
##535F171.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66590A
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#585951
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #535f17;
/* rgb */ color: rgb(83, 95, 23);
/* oklch */ color: oklch(46.0% 0.095 118.6);
Tailwind
colors: {
  custom: {
    50: '#868c5a',
    500: '#535f17',
    950: '#000000',
  },
}
SCSS
$custom: #535f17;
$custom-light: #868c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#535f17",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 70,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.09514,
    "h": 118.6
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#535F17
secondary
#4B3C96
accent
#44E45E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #535F17

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

Preview Lab → · Contrast checker → · Palette generator →

#535F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva