#535E17#535E17

#535E17 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.8% C 0.094 H 118.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#535E17
RGBrgb(83, 94, 23)
HSLhsl(69, 61%, 23%)
HSVhsv(69, 76%, 37%)
CMYKcmyk(11.7%, 0%, 75.5%, 63.1%)
CIE-LABlab(37.67, -14.77, 37.13)
CIE-LCHlch(37.67, 39.96, 111.69°)
OKLaboklab(45.77% -0.044 0.0829)
OKLCHoklch(45.77% 0.094 118)
XYZxyz(7.7248, 9.9063, 2.3156)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535E17 #22175E
analogous
#5E4517 #535E17 #2F5E17
triadic
#535E17 #17535E #5E1753
tetradic
#535E17 #175E45 #22175E #5E172F
square
#535E17 #175E45 #22175E #5E172F
split-complementary
#535E17 #172F5E #45175E
monochromatic
#161906 #282D0B #535E17 #7E8F23 #AAC02F

Accessibility & contrast

On white

7.04
#535E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #535E17
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535E17#FFFFFF#000000##FFFFFF
##535E171.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590B
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#585850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #535e17;
/* rgb */ color: rgb(83, 94, 23);
/* oklch */ color: oklch(45.8% 0.094 118.0);
Tailwind
colors: {
  custom: {
    50: '#868b59',
    500: '#535e17',
    950: '#000000',
  },
}
SCSS
$custom: #535e17;
$custom-light: #868b59;
$custom-dark: #000000;
JSON
{
  "hex": "#535e17",
  "rgb": {
    "r": 83,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 69.296,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.09382,
    "h": 118
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#535E17
secondary
#4A3C95
accent
#44E45D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #535E17

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

Preview Lab → · Contrast checker → · Palette generator →

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