#535C18#535C18

#535C18 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.090 H 116.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#535C18
RGBrgb(83, 92, 24)
HSLhsl(68, 59%, 23%)
HSVhsv(68, 74%, 36%)
CMYKcmyk(9.8%, 0%, 73.9%, 63.9%)
CIE-LABlab(37.04, -13.59, 36.07)
CIE-LCHlch(37.04, 38.55, 110.65°)
OKLaboklab(45.26% -0.0406 0.0808)
OKLCHoklch(45.26% 0.09 116.7)
XYZxyz(7.5595, 9.5593, 2.3109)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535C18 #21185C
analogous
#5C4318 #535C18 #315C18
triadic
#535C18 #18535C #5C1853
tetradic
#535C18 #185C43 #21185C #5C1831
square
#535C18 #185C43 #21185C #5C1831
split-complementary
#535C18 #18315C #43185C
monochromatic
#161806 #272B0B #535C18 #7F8D25 #ABBD31

Accessibility & contrast

On white

7.21
#535C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#535C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535C18
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535C18#FFFFFF#000000##FFFFFF
##535C181.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#59574E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #535c18;
/* rgb */ color: rgb(83, 92, 24);
/* oklch */ color: oklch(45.3% 0.090 116.7);
Tailwind
colors: {
  custom: {
    50: '#868a5a',
    500: '#535c18',
    950: '#000000',
  },
}
SCSS
$custom: #535c18;
$custom-light: #868a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#535c18",
  "rgb": {
    "r": 83,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 67.941,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.09047,
    "h": 116.7
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#535C18
secondary
#493D93
accent
#46E25B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #535C18

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

Preview Lab → · Contrast checker → · Palette generator →

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