#937822#937822

#937822 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.3% C 0.106 H 90.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#937822
RGBrgb(147, 120, 34)
HSLhsl(46, 62%, 35%)
HSVhsv(46, 77%, 58%)
CMYKcmyk(0%, 18.4%, 76.9%, 42.4%)
CIE-LABlab(51.56, 1.36, 48.25)
CIE-LCHlch(51.56, 48.27, 88.38°)
OKLaboklab(58.29% -0.0012 0.1061)
OKLCHoklch(58.29% 0.106 90.6)
XYZxyz(19.0389, 19.7527, 4.3229)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937822 #223D93
analogous
#934022 #937822 #759322
triadic
#937822 #229378 #782293
tetradic
#937822 #229340 #223D93 #932275
square
#937822 #229340 #223D93 #932275
split-complementary
#937822 #227593 #402293
monochromatic
#30270B #614F17 #937822 #C5A12D #D8B957

Accessibility & contrast

On white

4.24
#937822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#937822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937822
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937822#FFFFFF#000000##000000
##9378221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#9F6D67
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #937822;
/* rgb */ color: rgb(147, 120, 34);
/* oklch */ color: oklch(58.3% 0.106 90.6);
Tailwind
colors: {
  custom: {
    50: '#b79e64',
    500: '#937822',
    950: '#000000',
  },
}
SCSS
$custom: #937822;
$custom-light: #b79e64;
$custom-dark: #000000;
JSON
{
  "hex": "#937822",
  "rgb": {
    "r": 147,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 45.664,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.10608,
    "h": 90.6
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#937822
secondary
#556DBC
accent
#69E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #937822

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

Preview Lab → · Contrast checker → · Palette generator →

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