#535D12#535D12

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

Color values

HEX#535D12
RGBrgb(83, 93, 18)
HSLhsl(68, 68%, 22%)
HSVhsv(68, 81%, 36%)
CMYKcmyk(10.8%, 0%, 80.6%, 63.5%)
CIE-LABlab(37.32, -14.50, 38.75)
CIE-LCHlch(37.32, 41.38, 110.52°)
OKLaboklab(45.47% -0.0437 0.0853)
OKLCHoklch(45.47% 0.096 117.1)
XYZxyz(7.5910, 9.7115, 2.0468)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535D12 #1C125D
analogous
#5D4212 #535D12 #2E5D12
triadic
#535D12 #12535D #5D1253
tetradic
#535D12 #125D42 #1C125D #5D122E
square
#535D12 #125D42 #1C125D #5D122E
split-complementary
#535D12 #122E5D #42125D
monochromatic
#171A05 #252A08 #535D12 #81901C #AFC426

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##535D12#FFFFFF#000000##FFFFFF
##535D121.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)
#645803
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#59574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #535d12;
/* rgb */ color: rgb(83, 93, 18);
/* oklch */ color: oklch(45.5% 0.096 117.1);
Tailwind
colors: {
  custom: {
    50: '#868a57',
    500: '#535d12',
    950: '#000000',
  },
}
SCSS
$custom: #535d12;
$custom-light: #868a57;
$custom-dark: #000000;
JSON
{
  "hex": "#535d12",
  "rgb": {
    "r": 83,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 68,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45469,
    "c": 0.0959,
    "h": 117.1
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#535D12
secondary
#423595
accent
#3DEA54
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #535D12

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

Preview Lab → · Contrast checker → · Palette generator →

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