#938121#938121

#938121 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.3% C 0.113 H 98.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#938121
RGBrgb(147, 129, 33)
HSLhsl(51, 63%, 35%)
HSVhsv(51, 78%, 58%)
CMYKcmyk(0%, 12.2%, 77.6%, 42.4%)
CIE-LABlab(54.04, -3.73, 50.97)
CIE-LCHlch(54.04, 51.11, 94.18°)
OKLaboklab(60.26% -0.0158 0.1117)
OKLCHoklch(60.26% 0.113 98.1)
XYZxyz(20.1584, 22.0144, 4.6260)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938121 #213393
analogous
#934821 #938121 #6C9321
triadic
#938121 #219381 #812193
tetradic
#938121 #219348 #213393 #93216C
square
#938121 #219348 #213393 #93216C
split-complementary
#938121 #216C93 #482193
monochromatic
#2F290B #615516 #938121 #C5AD2C #D9C455

Accessibility & contrast

On white

3.89
#938121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#938121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938121
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938121#FFFFFF#000000##000000
##9381211.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#9F776F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #938121;
/* rgb */ color: rgb(147, 129, 33);
/* oklch */ color: oklch(60.3% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#b6a564',
    500: '#938121',
    950: '#000000',
  },
}
SCSS
$custom: #938121;
$custom-light: #b6a564;
$custom-dark: #000000;
JSON
{
  "hex": "#938121",
  "rgb": {
    "r": 147,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 50.526,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.11278,
    "h": 98.1
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#938121
secondary
#5364BD
accent
#5BE641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938121

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

Preview Lab → · Contrast checker → · Palette generator →

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