#938422#938422

#938422 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.115 H 100.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#938422
RGBrgb(147, 132, 34)
HSLhsl(52, 62%, 35%)
HSVhsv(52, 77%, 58%)
CMYKcmyk(0%, 10.2%, 76.9%, 42.4%)
CIE-LABlab(54.89, -5.34, 51.40)
CIE-LCHlch(54.89, 51.68, 95.93°)
OKLaboklab(60.93% -0.0203 0.1128)
OKLCHoklch(60.93% 0.115 100.2)
XYZxyz(20.5736, 22.8220, 4.8345)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938422 #223193
analogous
#934B22 #938422 #6A9322
triadic
#938422 #229384 #842293
tetradic
#938422 #22934B #223193 #93226A
square
#938422 #22934B #223193 #93226A
split-complementary
#938422 #226A93 #4B2293
monochromatic
#302B0B #615717 #938422 #C5B12D #D8C757

Accessibility & contrast

On white

3.77
#938422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#938422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938422
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938422#FFFFFF#000000##000000
##9384221.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#9F7A71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #938422;
/* rgb */ color: rgb(147, 132, 34);
/* oklch */ color: oklch(60.9% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#b6a765',
    500: '#938422',
    950: '#000000',
  },
}
SCSS
$custom: #938422;
$custom-light: #b6a765;
$custom-dark: #000000;
JSON
{
  "hex": "#938422",
  "rgb": {
    "r": 147,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 52.035,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.11459,
    "h": 100.2
  },
  "luminance": 0.22821
}

Semantic roles & 50–950 ramp

primary
#938422
secondary
#5562BC
accent
#58E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938422

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

Preview Lab → · Contrast checker → · Palette generator →

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