#535912#535912

#535912 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.4% C 0.091 H 114.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#535912
RGBrgb(83, 89, 18)
HSLhsl(65, 66%, 21%)
HSVhsv(65, 80%, 35%)
CMYKcmyk(6.7%, 0%, 79.8%, 65.1%)
CIE-LABlab(36.04, -12.26, 37.55)
CIE-LCHlch(36.04, 39.50, 108.08°)
OKLaboklab(44.44% -0.0375 0.0828)
OKLCHoklch(44.44% 0.091 114.4)
XYZxyz(7.2491, 9.0276, 1.9328)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535912 #181259
analogous
#593B12 #535912 #2F5912
triadic
#535912 #125359 #591253
tetradic
#535912 #12593B #181259 #59122F
square
#535912 #12593B #181259 #59122F
split-complementary
#535912 #122F59 #3B1259
monochromatic
#181905 #242608 #535912 #828C1C #B2BF27

Accessibility & contrast

On white

7.49
#535912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#535912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535912
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535912#FFFFFF#000000##FFFFFF
##5359121.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#605518
Tritanopia (blue-blind)
#59534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #535912;
/* rgb */ color: rgb(83, 89, 18);
/* oklch */ color: oklch(44.4% 0.091 114.4);
Tailwind
colors: {
  custom: {
    50: '#868756',
    500: '#535912',
    950: '#000000',
  },
}
SCSS
$custom: #535912;
$custom-light: #868756;
$custom-dark: #000000;
JSON
{
  "hex": "#535912",
  "rgb": {
    "r": 83,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 65.07,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4444,
    "c": 0.0909,
    "h": 114.4
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#535912
secondary
#3D3592
accent
#3FE94D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #535912

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

Preview Lab → · Contrast checker → · Palette generator →

#535912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva