#535118#535118

#535118 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.077 H 107.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#535118
RGBrgb(83, 81, 24)
HSLhsl(58, 55%, 21%)
HSVhsv(58, 71%, 33%)
CMYKcmyk(0%, 2.4%, 71.1%, 67.5%)
CIE-LABlab(33.54, -7.26, 32.51)
CIE-LCHlch(33.54, 33.31, 102.58°)
OKLaboklab(42.46% -0.0229 0.0733)
OKLCHoklch(42.46% 0.077 107.3)
XYZxyz(6.6748, 7.7900, 2.0160)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535118 #181A53
analogous
#533318 #535118 #375318
triadic
#535118 #185351 #511853
tetradic
#535118 #185333 #181A53 #531837
square
#535118 #185333 #181A53 #531837
split-complementary
#535118 #183753 #331853
monochromatic
#181707 #24230A #535118 #827F26 #B2AE33

Accessibility & contrast

On white

8.21
#535118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #535118
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535118#FFFFFF#000000##FFFFFF
##5351181.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E10
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#594B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #535118;
/* rgb */ color: rgb(83, 81, 24);
/* oklch */ color: oklch(42.5% 0.077 107.3);
Tailwind
colors: {
  custom: {
    50: '#858158',
    500: '#535118',
    950: '#000000',
  },
}
SCSS
$custom: #535118;
$custom-light: #858158;
$custom-dark: #000000;
JSON
{
  "hex": "#535118",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 57.966,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.0768,
    "h": 107.3
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#535118
secondary
#3D408A
accent
#4EDE49
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535118

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

Preview Lab → · Contrast checker → · Palette generator →

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