#938216#938216

#938216 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.119 H 99.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#938216
RGBrgb(147, 130, 22)
HSLhsl(52, 74%, 33%)
HSVhsv(52, 85%, 58%)
CMYKcmyk(0%, 11.6%, 85%, 42.4%)
CIE-LABlab(54.27, -4.68, 54.74)
CIE-LCHlch(54.27, 54.94, 94.89°)
OKLaboklab(60.42% -0.0195 0.1175)
OKLCHoklch(60.42% 0.119 99.4)
XYZxyz(20.1611, 22.2273, 3.9873)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938216 #162793
analogous
#934316 #938216 #659316
triadic
#938216 #169382 #821693
tetradic
#938216 #169343 #162793 #931665
square
#938216 #169343 #162793 #931665
split-complementary
#938216 #166593 #431693
monochromatic
#292406 #5E530E #938216 #C8B11E #E3CD41

Accessibility & contrast

On white

3.86
#938216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#938216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938216
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938216#FFFFFF#000000##000000
##9382161.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#94841F
Tritanopia (blue-blind)
#9F776F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #938216;
/* rgb */ color: rgb(147, 130, 22);
/* oklch */ color: oklch(60.4% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#b7a560',
    500: '#938216',
    950: '#000000',
  },
}
SCSS
$custom: #938216;
$custom-light: #b7a560;
$custom-dark: #000000;
JSON
{
  "hex": "#938216",
  "rgb": {
    "r": 147,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 51.84,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.11908,
    "h": 99.4
  },
  "luminance": 0.22226
}

Semantic roles & 50–950 ramp

primary
#938216
secondary
#4253C3
accent
#50F137
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #938216

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

Preview Lab → · Contrast checker → · Palette generator →

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