#535E12#535E12

#535E12 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.7% C 0.097 H 117.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#535E12
RGBrgb(83, 94, 18)
HSLhsl(69, 68%, 22%)
HSVhsv(69, 81%, 37%)
CMYKcmyk(11.7%, 0%, 80.9%, 63.1%)
CIE-LABlab(37.64, -15.06, 39.05)
CIE-LCHlch(37.64, 41.85, 111.08°)
OKLaboklab(45.73% -0.0453 0.086)
OKLCHoklch(45.73% 0.097 117.8)
XYZxyz(7.6793, 9.8882, 2.0762)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535E12 #1D125E
analogous
#5E4312 #535E12 #2D5E12
triadic
#535E12 #12535E #5E1253
tetradic
#535E12 #125E43 #1D125E #5E122D
square
#535E12 #125E43 #1D125E #5E122D
split-complementary
#535E12 #122D5E #43125E
monochromatic
#171A05 #262B08 #535E12 #80911C #AEC526

Accessibility & contrast

On white

7.05
#535E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#535E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535E12
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535E12#FFFFFF#000000##FFFFFF
##535E121.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655802
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#595850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #535e12;
/* rgb */ color: rgb(83, 94, 18);
/* oklch */ color: oklch(45.7% 0.097 117.8);
Tailwind
colors: {
  custom: {
    50: '#868b57',
    500: '#535e12',
    950: '#000000',
  },
}
SCSS
$custom: #535e12;
$custom-light: #868b57;
$custom-dark: #000000;
JSON
{
  "hex": "#535e12",
  "rgb": {
    "r": 83,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 68.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.09716,
    "h": 117.8
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#535E12
secondary
#443596
accent
#3DEB56
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #535E12

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

Preview Lab → · Contrast checker → · Palette generator →

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