#535A18#535A18

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

Color values

HEX#535A18
RGBrgb(83, 90, 24)
HSLhsl(66, 58%, 22%)
HSVhsv(66, 73%, 35%)
CMYKcmyk(7.8%, 0%, 73.3%, 64.7%)
CIE-LABlab(36.40, -12.47, 35.43)
CIE-LCHlch(36.40, 37.56, 109.39°)
OKLaboklab(44.74% -0.0375 0.0795)
OKLCHoklch(44.74% 0.088 115.2)
XYZxyz(7.3885, 9.2174, 2.2539)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535A18 #1F185A
analogous
#5A4018 #535A18 #325A18
triadic
#535A18 #18535A #5A1853
tetradic
#535A18 #185A40 #1F185A #5A1832
square
#535A18 #185A40 #1F185A #5A1832
split-complementary
#535A18 #18325A #40185A
monochromatic
#161806 #262A0B #535A18 #808A25 #ACBB32

Accessibility & contrast

On white

7.39
#535A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #535A18
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535A18#FFFFFF#000000##FFFFFF
##535A181.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550E
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#59544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #535a18;
/* rgb */ color: rgb(83, 90, 24);
/* oklch */ color: oklch(44.7% 0.088 115.2);
Tailwind
colors: {
  custom: {
    50: '#868859',
    500: '#535a18',
    950: '#000000',
  },
}
SCSS
$custom: #535a18;
$custom-light: #868859;
$custom-dark: #000000;
JSON
{
  "hex": "#535a18",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 66.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44744,
    "c": 0.08787,
    "h": 115.2
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#535A18
secondary
#463D91
accent
#47E157
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #535A18

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

Preview Lab → · Contrast checker → · Palette generator →

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