#938D2B#938D2B

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

Color values

HEX#938D2B
RGBrgb(147, 141, 43)
HSLhsl(57, 55%, 37%)
HSVhsv(57, 71%, 58%)
CMYKcmyk(0%, 4.1%, 70.7%, 42.4%)
CIE-LABlab(57.49, -9.80, 50.45)
CIE-LCHlch(57.49, 51.40, 100.99°)
OKLaboklab(63.02% -0.0319 0.1125)
OKLCHoklch(63.02% 0.117 105.8)
XYZxyz(21.9944, 25.4280, 6.0346)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938D2B #2B3193
analogous
#93592B #938D2B #65932B
triadic
#938D2B #2B938D #8D2B93
tetradic
#938D2B #2B9359 #2B3193 #932B65
square
#938D2B #2B9359 #2B3193 #932B65
split-complementary
#938D2B #2B6593 #592B93
monochromatic
#34320F #64601D #938D2B #C2BA39 #D2CC66

Accessibility & contrast

On white

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

On black

6.09
#938D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938D2B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938D2B#FFFFFF#000000##000000
##938D2B1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #938d2b;
/* rgb */ color: rgb(147, 141, 43);
/* oklch */ color: oklch(63.0% 0.117 105.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae6b',
    500: '#938d2b',
    950: '#000000',
  },
}
SCSS
$custom: #938d2b;
$custom-light: #b6ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#938d2b",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 56.538,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63017,
    "c": 0.11693,
    "h": 105.8
  },
  "luminance": 0.25427
}

Semantic roles & 50–950 ramp

primary
#938D2B
secondary
#6166B9
accent
#52DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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