#937B22#937B22

#937B22 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.108 H 93.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#937B22
RGBrgb(147, 123, 34)
HSLhsl(47, 62%, 35%)
HSVhsv(47, 77%, 58%)
CMYKcmyk(0%, 16.3%, 76.9%, 42.4%)
CIE-LABlab(52.38, -0.33, 49.03)
CIE-LCHlch(52.38, 49.03, 90.39°)
OKLaboklab(58.95% -0.006 0.1077)
OKLCHoklch(58.95% 0.108 93.2)
XYZxyz(19.4054, 20.4856, 4.4451)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937B22 #223A93
analogous
#934322 #937B22 #729322
triadic
#937B22 #22937B #7B2293
tetradic
#937B22 #229343 #223A93 #932272
square
#937B22 #229343 #223A93 #932272
split-complementary
#937B22 #227293 #432293
monochromatic
#30280B #615117 #937B22 #C5A52D #D8BD57

Accessibility & contrast

On white

4.12
#937B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#937B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937B22
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937B22#FFFFFF#000000##000000
##937B221.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#9F716A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #937b22;
/* rgb */ color: rgb(147, 123, 34);
/* oklch */ color: oklch(58.9% 0.108 93.2);
Tailwind
colors: {
  custom: {
    50: '#b6a064',
    500: '#937b22',
    950: '#000000',
  },
}
SCSS
$custom: #937b22;
$custom-light: #b6a064;
$custom-dark: #000000;
JSON
{
  "hex": "#937b22",
  "rgb": {
    "r": 147,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 47.257,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.10791,
    "h": 93.2
  },
  "luminance": 0.20484
}

Semantic roles & 50–950 ramp

primary
#937B22
secondary
#556BBC
accent
#65E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #937B22

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

Preview Lab → · Contrast checker → · Palette generator →

#937B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva