#938D2A#938D2A

#938D2A is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.118 H 105.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#938D2A
RGBrgb(147, 141, 42)
HSLhsl(57, 56%, 37%)
HSVhsv(57, 71%, 58%)
CMYKcmyk(0%, 4.1%, 71.4%, 42.4%)
CIE-LABlab(57.48, -9.85, 50.85)
CIE-LCHlch(57.48, 51.79, 100.97°)
OKLaboklab(63.01% -0.0321 0.1132)
OKLCHoklch(63.01% 0.118 105.9)
XYZxyz(21.9763, 25.4208, 5.9391)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938D2A #2A3093
analogous
#93582A #938D2A #65932A
triadic
#938D2A #2A938D #8D2A93
tetradic
#938D2A #2A9358 #2A3093 #932A65
square
#938D2A #2A9358 #2A3093 #932A65
split-complementary
#938D2A #2A6593 #582A93
monochromatic
#34320F #635F1C #938D2A #C3BB38 #D3CD65

Accessibility & contrast

On white

3.45
#938D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#938D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938D2A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938D2A#FFFFFF#000000##000000
##938D2A1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881A
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#9E8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #938d2a;
/* rgb */ color: rgb(147, 141, 42);
/* oklch */ color: oklch(63.0% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#b6ae6a',
    500: '#938d2a',
    950: '#000000',
  },
}
SCSS
$custom: #938d2a;
$custom-light: #b6ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#938d2a",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 56.571,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63009,
    "c": 0.11763,
    "h": 105.9
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

primary
#938D2A
secondary
#6065B9
accent
#51DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#938D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva