#938337#938337

#938337 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.9% C 0.098 H 97.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#938337
RGBrgb(147, 131, 55)
HSLhsl(50, 46%, 40%)
HSVhsv(50, 63%, 58%)
CMYKcmyk(0%, 10.9%, 62.6%, 42.4%)
CIE-LABlab(54.77, -3.57, 42.29)
CIE-LCHlch(54.77, 42.44, 94.82°)
OKLaboklab(60.89% -0.0127 0.0972)
OKLCHoklch(60.89% 0.098 97.5)
XYZxyz(20.8394, 22.7124, 6.8999)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938337 #374793
analogous
#935537 #938337 #759337
triadic
#938337 #379383 #833793
tetradic
#938337 #379355 #374793 #933775
square
#938337 #379355 #374793 #933775
split-complementary
#938337 #377593 #553793
monochromatic
#3A3416 #665B26 #938337 #BCA84B #CCBE78

Accessibility & contrast

On white

3.79
#938337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#938337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938337
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938337#FFFFFF#000000##000000
##9383371.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#9E7A73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #938337;
/* rgb */ color: rgb(147, 131, 55);
/* oklch */ color: oklch(60.9% 0.098 97.5);
Tailwind
colors: {
  custom: {
    50: '#b5a671',
    500: '#938337',
    950: '#000000',
  },
}
SCSS
$custom: #938337;
$custom-light: #b5a671;
$custom-dark: #000000;
JSON
{
  "hex": "#938337",
  "rgb": {
    "r": 147,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 49.565,
    "s": 45.545,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60893,
    "c": 0.09802,
    "h": 97.5
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#938337
secondary
#707CB5
accent
#69D553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #938337

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

Preview Lab → · Contrast checker → · Palette generator →

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