#535A12#535A12

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

Color values

HEX#535A12
RGBrgb(83, 90, 18)
HSLhsl(66, 67%, 21%)
HSVhsv(66, 80%, 35%)
CMYKcmyk(7.8%, 0%, 80%, 64.7%)
CIE-LABlab(36.36, -12.82, 37.85)
CIE-LCHlch(36.36, 39.96, 108.72°)
OKLaboklab(44.7% -0.0391 0.0834)
OKLCHoklch(44.7% 0.092 115.1)
XYZxyz(7.3328, 9.1951, 1.9607)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535A12 #19125A
analogous
#5A3D12 #535A12 #2F5A12
triadic
#535A12 #12535A #5A1253
tetradic
#535A12 #125A3D #19125A #5A122F
square
#535A12 #125A3D #19125A #5A122F
split-complementary
#535A12 #122F5A #3D125A
monochromatic
#181A05 #242708 #535A12 #828D1C #B1C026

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##535A12#FFFFFF#000000##FFFFFF
##535A121.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)
#615504
Deuteranopia (green-blind)
#615618
Tritanopia (blue-blind)
#59544C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #535a12;
/* rgb */ color: rgb(83, 90, 18);
/* oklch */ color: oklch(44.7% 0.092 115.1);
Tailwind
colors: {
  custom: {
    50: '#868856',
    500: '#535a12',
    950: '#000000',
  },
}
SCSS
$custom: #535a12;
$custom-light: #868856;
$custom-dark: #000000;
JSON
{
  "hex": "#535a12",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 65.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.09214,
    "h": 115.1
  },
  "luminance": 0.09195
}

Semantic roles & 50–950 ramp

primary
#535A12
secondary
#3E3593
accent
#3EEA4F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #535A12

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

Preview Lab → · Contrast checker → · Palette generator →

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