#938821#938821

#938821 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.119 H 103.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#938821
RGBrgb(147, 136, 33)
HSLhsl(54, 63%, 35%)
HSVhsv(54, 78%, 58%)
CMYKcmyk(0%, 7.5%, 77.6%, 42.4%)
CIE-LABlab(56.01, -7.58, 52.80)
CIE-LCHlch(56.01, 53.34, 98.17°)
OKLaboklab(61.82% -0.0267 0.1156)
OKLCHoklch(61.82% 0.119 103)
XYZxyz(21.1123, 23.9221, 4.9439)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938821 #212C93
analogous
#934F21 #938821 #659321
triadic
#938821 #219388 #882193
tetradic
#938821 #21934F #212C93 #932165
square
#938821 #21934F #212C93 #932165
split-complementary
#938821 #216593 #4F2193
monochromatic
#2F2C0B #615A16 #938821 #C5B62C #D9CC55

Accessibility & contrast

On white

3.63
#938821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#938821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938821
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938821#FFFFFF#000000##000000
##9388211.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830A
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#9F7E74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #938821;
/* rgb */ color: rgb(147, 136, 33);
/* oklch */ color: oklch(61.8% 0.119 103.0);
Tailwind
colors: {
  custom: {
    50: '#b6aa65',
    500: '#938821',
    950: '#000000',
  },
}
SCSS
$custom: #938821;
$custom-light: #b6aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#938821",
  "rgb": {
    "r": 147,
    "g": 136,
    "b": 33
  },
  "hsl": {
    "h": 54.211,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.1186,
    "h": 103
  },
  "luminance": 0.23921
}

Semantic roles & 50–950 ramp

primary
#938821
secondary
#535DBD
accent
#51E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938821

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

Preview Lab → · Contrast checker → · Palette generator →

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