#938331#938331

#938331 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.8% C 0.103 H 98.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#938331
RGBrgb(147, 131, 49)
HSLhsl(50, 50%, 38%)
HSVhsv(50, 67%, 58%)
CMYKcmyk(0%, 10.9%, 66.7%, 42.4%)
CIE-LABlab(54.72, -3.98, 45.03)
CIE-LCHlch(54.72, 45.21, 95.05°)
OKLaboklab(60.83% -0.0147 0.1021)
OKLCHoklch(60.83% 0.103 98.2)
XYZxyz(20.7042, 22.6584, 6.1881)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938331 #314193
analogous
#935231 #938331 #729331
triadic
#938331 #319383 #833193
tetradic
#938331 #319352 #314193 #933172
square
#938331 #319352 #314193 #933172
split-complementary
#938331 #317293 #523193
monochromatic
#373112 #655A22 #938331 #C0AB41 #CFBF6F

Accessibility & contrast

On white

3.80
#938331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#938331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938331
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938331#FFFFFF#000000##000000
##9383311.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#9E7A72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #938331;
/* rgb */ color: rgb(147, 131, 49);
/* oklch */ color: oklch(60.8% 0.103 98.2);
Tailwind
colors: {
  custom: {
    50: '#b6a66d',
    500: '#938331',
    950: '#000000',
  },
}
SCSS
$custom: #938331;
$custom-light: #b6a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#938331",
  "rgb": {
    "r": 147,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 50.204,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.10315,
    "h": 98.2
  },
  "luminance": 0.22657
}

Semantic roles & 50–950 ramp

primary
#938331
secondary
#6976B7
accent
#65DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #938331

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

Preview Lab → · Contrast checker → · Palette generator →

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