#535A0D#535A0D

#535A0D is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.7% C 0.095 H 115.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#535A0D
RGBrgb(83, 90, 13)
HSLhsl(65, 75%, 20%)
HSVhsv(65, 86%, 35%)
CMYKcmyk(7.8%, 0%, 85.6%, 64.7%)
CIE-LABlab(36.33, -13.06, 39.58)
CIE-LCHlch(36.33, 41.67, 108.26°)
OKLaboklab(44.67% -0.0402 0.0861)
OKLCHoklch(44.67% 0.095 115)
XYZxyz(7.2963, 9.1805, 1.7683)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535A0D #140D5A
analogous
#5A3B0D #535A0D #2C5A0D
triadic
#535A0D #0D535A #5A0D53
tetradic
#535A0D #0D5A3B #140D5A #5A0D2C
square
#535A0D #0D5A3B #140D5A #5A0D2C
split-complementary
#535A0D #0D2C5A #3B0D5A
monochromatic
#191B04 #222505 #535A0D #848F15 #B6C51C

Accessibility & contrast

On white

7.40
#535A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#535A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535A0D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535A0D#FFFFFF#000000##FFFFFF
##535A0D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#615615
Tritanopia (blue-blind)
#59544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #535a0d;
/* rgb */ color: rgb(83, 90, 13);
/* oklch */ color: oklch(44.7% 0.095 115.0);
Tailwind
colors: {
  custom: {
    50: '#868854',
    500: '#535a0d',
    950: '#000000',
  },
}
SCSS
$custom: #535a0d;
$custom-light: #868854;
$custom-dark: #000000;
JSON
{
  "hex": "#535a0d",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 13
  },
  "hsl": {
    "h": 65.455,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.09502,
    "h": 115
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#535A0D
secondary
#382E94
accent
#36F147
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #535A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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