#535115#535115

#535115 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.079 H 107.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#535115
RGBrgb(83, 81, 21)
HSLhsl(58, 60%, 20%)
HSVhsv(58, 75%, 33%)
CMYKcmyk(0%, 2.4%, 74.7%, 67.5%)
CIE-LABlab(33.52, -7.45, 33.86)
CIE-LCHlch(33.52, 34.67, 102.41°)
OKLaboklab(42.43% -0.0238 0.0756)
OKLCHoklch(42.43% 0.079 107.5)
XYZxyz(6.6453, 7.7782, 1.8606)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535115 #151753
analogous
#533215 #535115 #365315
triadic
#535115 #155351 #511553
tetradic
#535115 #155332 #151753 #531536
square
#535115 #155332 #151753 #531536
split-complementary
#535115 #153653 #321553
monochromatic
#181806 #222109 #535115 #848121 #B5B02E

Accessibility & contrast

On white

8.22
#535115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#535115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535115
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535115#FFFFFF#000000##FFFFFF
##5351151.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0C
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#594B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #535115;
/* rgb */ color: rgb(83, 81, 21);
/* oklch */ color: oklch(42.4% 0.079 107.5);
Tailwind
colors: {
  custom: {
    50: '#868157',
    500: '#535115',
    950: '#000000',
  },
}
SCSS
$custom: #535115;
$custom-light: #868157;
$custom-dark: #000000;
JSON
{
  "hex": "#535115",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 58.065,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42431,
    "c": 0.07926,
    "h": 107.5
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#535115
secondary
#393C8B
accent
#4AE345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535115

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

Preview Lab → · Contrast checker → · Palette generator →

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