#938420#938420

#938420 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.116 H 100.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#938420
RGBrgb(147, 132, 32)
HSLhsl(52, 64%, 35%)
HSVhsv(52, 78%, 58%)
CMYKcmyk(0%, 10.2%, 78.2%, 42.4%)
CIE-LABlab(54.88, -5.43, 52.11)
CIE-LCHlch(54.88, 52.39, 95.95°)
OKLaboklab(60.92% -0.0207 0.1139)
OKLCHoklch(60.92% 0.116 100.3)
XYZxyz(20.5456, 22.8108, 4.6869)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938420 #202F93
analogous
#934B20 #938420 #689320
triadic
#938420 #209384 #842093
tetradic
#938420 #20934B #202F93 #932068
square
#938420 #20934B #202F93 #932068
split-complementary
#938420 #206893 #4B2093
monochromatic
#2E2A0A #615715 #938420 #C5B12B #DAC854

Accessibility & contrast

On white

3.78
#938420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#938420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938420
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938420#FFFFFF#000000##000000
##9384201.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#9F7A71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #938420;
/* rgb */ color: rgb(147, 132, 32);
/* oklch */ color: oklch(60.9% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#b6a764',
    500: '#938420',
    950: '#000000',
  },
}
SCSS
$custom: #938420;
$custom-light: #b6a764;
$custom-dark: #000000;
JSON
{
  "hex": "#938420",
  "rgb": {
    "r": 147,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 52.174,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60917,
    "c": 0.11575,
    "h": 100.3
  },
  "luminance": 0.2281
}

Semantic roles & 50–950 ramp

primary
#938420
secondary
#5260BD
accent
#56E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938420

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

Preview Lab → · Contrast checker → · Palette generator →

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