#535D0F#535D0F

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

Color values

HEX#535D0F
RGBrgb(83, 93, 15)
HSLhsl(68, 72%, 21%)
HSVhsv(68, 84%, 36%)
CMYKcmyk(10.8%, 0%, 83.9%, 63.5%)
CIE-LABlab(37.30, -14.65, 39.79)
CIE-LCHlch(37.30, 42.40, 110.21°)
OKLaboklab(45.45% -0.0444 0.087)
OKLCHoklch(45.45% 0.098 117.1)
XYZxyz(7.5681, 9.7023, 1.9259)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535D0F #190F5D
analogous
#5D400F #535D0F #2C5D0F
triadic
#535D0F #0F535D #5D0F53
tetradic
#535D0F #0F5D40 #190F5D #5D0F2C
square
#535D0F #0F5D40 #190F5D #5D0F2C
split-complementary
#535D0F #0F2C5D #400F5D
monochromatic
#181A04 #242806 #535D0F #829217 #B1C620

Accessibility & contrast

On white

7.14
#535D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#535D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535D0F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535D0F#FFFFFF#000000##FFFFFF
##535D0F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#59574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #535d0f;
/* rgb */ color: rgb(83, 93, 15);
/* oklch */ color: oklch(45.5% 0.098 117.1);
Tailwind
colors: {
  custom: {
    50: '#868a55',
    500: '#535d0f',
    950: '#000000',
  },
}
SCSS
$custom: #535d0f;
$custom-light: #868a55;
$custom-dark: #000000;
JSON
{
  "hex": "#535d0f",
  "rgb": {
    "r": 83,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 67.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4545,
    "c": 0.09763,
    "h": 117.1
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#535D0F
secondary
#3E3196
accent
#39EF50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #535D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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