#535D18#535D18

#535D18 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.5% C 0.092 H 117.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#535D18
RGBrgb(83, 93, 24)
HSLhsl(69, 59%, 23%)
HSVhsv(69, 74%, 36%)
CMYKcmyk(10.8%, 0%, 74.2%, 63.5%)
CIE-LABlab(37.36, -14.15, 36.40)
CIE-LCHlch(37.36, 39.05, 111.25°)
OKLaboklab(45.52% -0.0422 0.0815)
OKLCHoklch(45.52% 0.092 117.4)
XYZxyz(7.6467, 9.7337, 2.3399)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535D18 #22185D
analogous
#5D4418 #535D18 #305D18
triadic
#535D18 #18535D #5D1853
tetradic
#535D18 #185D44 #22185D #5D1830
square
#535D18 #185D44 #22185D #5D1830
split-complementary
#535D18 #18305D #44185D
monochromatic
#161806 #282C0B #535D18 #7E8E25 #AABE31

Accessibility & contrast

On white

7.13
#535D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#535D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535D18
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535D18#FFFFFF#000000##FFFFFF
##535D181.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580D
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#58584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #535d18;
/* rgb */ color: rgb(83, 93, 24);
/* oklch */ color: oklch(45.5% 0.092 117.4);
Tailwind
colors: {
  custom: {
    50: '#868a5a',
    500: '#535d18',
    950: '#000000',
  },
}
SCSS
$custom: #535d18;
$custom-light: #868a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#535d18",
  "rgb": {
    "r": 83,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 68.696,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.09177,
    "h": 117.4
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#535D18
secondary
#4A3D93
accent
#46E25C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #535D18

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

Preview Lab → · Contrast checker → · Palette generator →

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