#938522#938522

#938522 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.115 H 100.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#938522
RGBrgb(147, 133, 34)
HSLhsl(53, 62%, 35%)
HSVhsv(53, 77%, 58%)
CMYKcmyk(0%, 9.5%, 76.9%, 42.4%)
CIE-LABlab(55.17, -5.89, 51.66)
CIE-LCHlch(55.17, 52.00, 96.51°)
OKLaboklab(61.15% -0.0218 0.1133)
OKLCHoklch(61.15% 0.115 100.9)
XYZxyz(20.7099, 23.0946, 4.8799)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938522 #223093
analogous
#934C22 #938522 #699322
triadic
#938522 #229385 #852293
tetradic
#938522 #22934C #223093 #932269
square
#938522 #22934C #223093 #932269
split-complementary
#938522 #226993 #4C2293
monochromatic
#302B0B #615817 #938522 #C5B22D #D8C857

Accessibility & contrast

On white

3.74
#938522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#938522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938522
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938522#FFFFFF#000000##000000
##9385221.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#9F7B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #938522;
/* rgb */ color: rgb(147, 133, 34);
/* oklch */ color: oklch(61.2% 0.115 100.9);
Tailwind
colors: {
  custom: {
    50: '#b6a865',
    500: '#938522',
    950: '#000000',
  },
}
SCSS
$custom: #938522;
$custom-light: #b6a865;
$custom-dark: #000000;
JSON
{
  "hex": "#938522",
  "rgb": {
    "r": 147,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 52.566,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.11542,
    "h": 100.9
  },
  "luminance": 0.23094
}

Semantic roles & 50–950 ramp

primary
#938522
secondary
#5561BC
accent
#57E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938522

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

Preview Lab → · Contrast checker → · Palette generator →

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