#535F12#535F12

#535F12 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.0% C 0.098 H 118.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#535F12
RGBrgb(83, 95, 18)
HSLhsl(69, 68%, 22%)
HSVhsv(69, 81%, 37%)
CMYKcmyk(12.6%, 0%, 81.1%, 62.7%)
CIE-LABlab(37.96, -15.61, 39.35)
CIE-LCHlch(37.96, 42.33, 111.63°)
OKLaboklab(45.99% -0.0468 0.0866)
OKLCHoklch(45.99% 0.098 118.4)
XYZxyz(7.7688, 10.0672, 2.1060)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535F12 #1E125F
analogous
#5F4512 #535F12 #2C5F12
triadic
#535F12 #12535F #5F1253
tetradic
#535F12 #125F45 #1E125F #5F122C
square
#535F12 #125F45 #1E125F #5F122C
split-complementary
#535F12 #122C5F #45125F
monochromatic
#161A05 #262C08 #535F12 #80921C #ADC625

Accessibility & contrast

On white

6.97
#535F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#535F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #535F12
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535F12#FFFFFF#000000##FFFFFF
##535F121.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665902
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#595951
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #535f12;
/* rgb */ color: rgb(83, 95, 18);
/* oklch */ color: oklch(46.0% 0.098 118.4);
Tailwind
colors: {
  custom: {
    50: '#868c57',
    500: '#535f12',
    950: '#000000',
  },
}
SCSS
$custom: #535f12;
$custom-light: #868c57;
$custom-dark: #000000;
JSON
{
  "hex": "#535f12",
  "rgb": {
    "r": 83,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 69.351,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.09844,
    "h": 118.4
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#535F12
secondary
#453697
accent
#3DEB58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #535F12

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

Preview Lab → · Contrast checker → · Palette generator →

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