#535518#535518

#535518 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.082 H 111.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#535518
RGBrgb(83, 85, 24)
HSLhsl(62, 56%, 21%)
HSVhsv(62, 72%, 33%)
CMYKcmyk(2.4%, 0%, 71.8%, 66.7%)
CIE-LABlab(34.81, -9.60, 33.81)
CIE-LCHlch(34.81, 35.15, 105.85°)
OKLaboklab(43.47% -0.0295 0.0761)
OKLCHoklch(43.47% 0.082 111.2)
XYZxyz(6.9809, 8.4021, 2.1180)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535518 #1A1855
analogous
#553918 #535518 #355518
triadic
#535518 #185355 #551853
tetradic
#535518 #185539 #1A1855 #551835
square
#535518 #185539 #1A1855 #551835
split-complementary
#535518 #183555 #391855
monochromatic
#171807 #24250B #535518 #828525 #B0B433

Accessibility & contrast

On white

7.83
#535518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#535518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535518
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535518#FFFFFF#000000##FFFFFF
##5355181.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#5C531C
Tritanopia (blue-blind)
#594F49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #535518;
/* rgb */ color: rgb(83, 85, 24);
/* oklch */ color: oklch(43.5% 0.082 111.2);
Tailwind
colors: {
  custom: {
    50: '#868459',
    500: '#535518',
    950: '#000000',
  },
}
SCSS
$custom: #535518;
$custom-light: #868459;
$custom-dark: #000000;
JSON
{
  "hex": "#535518",
  "rgb": {
    "r": 83,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 61.967,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.08158,
    "h": 111.2
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#535518
secondary
#403D8C
accent
#49DF4D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #535518

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

Preview Lab → · Contrast checker → · Palette generator →

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