#938020#938020

#938020 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.113 H 97.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#938020
RGBrgb(147, 128, 32)
HSLhsl(50, 64%, 35%)
HSVhsv(50, 78%, 58%)
CMYKcmyk(0%, 12.9%, 78.2%, 42.4%)
CIE-LABlab(53.76, -3.22, 51.07)
CIE-LCHlch(53.76, 51.17, 93.60°)
OKLaboklab(60.03% -0.0144 0.1117)
OKLCHoklch(60.03% 0.113 97.4)
XYZxyz(20.0135, 21.7467, 4.5096)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938020 #203393
analogous
#934620 #938020 #6C9320
triadic
#938020 #209380 #802093
tetradic
#938020 #209346 #203393 #93206C
square
#938020 #209346 #203393 #93206C
split-complementary
#938020 #206C93 #462093
monochromatic
#2E280A #615415 #938020 #C5AC2B #DAC454

Accessibility & contrast

On white

3.93
#938020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#938020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938020
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938020#FFFFFF#000000##000000
##9380201.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#938326
Tritanopia (blue-blind)
#9F766E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #938020;
/* rgb */ color: rgb(147, 128, 32);
/* oklch */ color: oklch(60.0% 0.113 97.4);
Tailwind
colors: {
  custom: {
    50: '#b6a464',
    500: '#938020',
    950: '#000000',
  },
}
SCSS
$custom: #938020;
$custom-light: #b6a464;
$custom-dark: #000000;
JSON
{
  "hex": "#938020",
  "rgb": {
    "r": 147,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 50.087,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60029,
    "c": 0.1126,
    "h": 97.4
  },
  "luminance": 0.21746
}

Semantic roles & 50–950 ramp

primary
#938020
secondary
#5263BD
accent
#5CE741
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938020

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

Preview Lab → · Contrast checker → · Palette generator →

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