#938520#938520

#938520 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.1% C 0.117 H 101.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#938520
RGBrgb(147, 133, 32)
HSLhsl(53, 64%, 35%)
HSVhsv(53, 78%, 58%)
CMYKcmyk(0%, 9.5%, 78.2%, 42.4%)
CIE-LABlab(55.16, -5.98, 52.37)
CIE-LCHlch(55.16, 52.71, 96.51°)
OKLaboklab(61.14% -0.0223 0.1144)
OKLCHoklch(61.14% 0.117 101)
XYZxyz(20.6819, 23.0834, 4.7324)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938520 #202E93
analogous
#934C20 #938520 #679320
triadic
#938520 #209385 #852093
tetradic
#938520 #20934C #202E93 #932067
square
#938520 #20934C #202E93 #932067
split-complementary
#938520 #206793 #4C2093
monochromatic
#2E2A0A #615815 #938520 #C5B22B #DAC954

Accessibility & contrast

On white

3.74
#938520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#938520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938520
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938520#FFFFFF#000000##000000
##9385201.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#9F7B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #938520;
/* rgb */ color: rgb(147, 133, 32);
/* oklch */ color: oklch(61.1% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#b6a864',
    500: '#938520',
    950: '#000000',
  },
}
SCSS
$custom: #938520;
$custom-light: #b6a864;
$custom-dark: #000000;
JSON
{
  "hex": "#938520",
  "rgb": {
    "r": 147,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 52.696,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.11658,
    "h": 101
  },
  "luminance": 0.23082
}

Semantic roles & 50–950 ramp

primary
#938520
secondary
#525FBD
accent
#55E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938520

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

Preview Lab → · Contrast checker → · Palette generator →

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