#938221#938221

#938221 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.114 H 98.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#938221
RGBrgb(147, 130, 33)
HSLhsl(51, 63%, 35%)
HSVhsv(51, 78%, 58%)
CMYKcmyk(0%, 11.6%, 77.6%, 42.4%)
CIE-LABlab(54.32, -4.28, 51.24)
CIE-LCHlch(54.32, 51.41, 94.78°)
OKLaboklab(60.48% -0.0174 0.1122)
OKLCHoklch(60.48% 0.114 98.8)
XYZxyz(20.2908, 22.2791, 4.6701)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938221 #213293
analogous
#934921 #938221 #6B9321
triadic
#938221 #219382 #822193
tetradic
#938221 #219349 #213293 #93216B
square
#938221 #219349 #213293 #93216B
split-complementary
#938221 #216B93 #492193
monochromatic
#2F2A0B #615616 #938221 #C5AE2C #D9C555

Accessibility & contrast

On white

3.85
#938221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#938221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938221
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938221#FFFFFF#000000##000000
##9382211.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F0D
Deuteranopia (green-blind)
#948428
Tritanopia (blue-blind)
#9F786F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #938221;
/* rgb */ color: rgb(147, 130, 33);
/* oklch */ color: oklch(60.5% 0.114 98.8);
Tailwind
colors: {
  custom: {
    50: '#b6a664',
    500: '#938221',
    950: '#000000',
  },
}
SCSS
$custom: #938221;
$custom-light: #b6a664;
$custom-dark: #000000;
JSON
{
  "hex": "#938221",
  "rgb": {
    "r": 147,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 51.053,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.11356,
    "h": 98.8
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

primary
#938221
secondary
#5363BD
accent
#5AE641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938221

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

Preview Lab → · Contrast checker → · Palette generator →

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