#938B2B#938B2B

#938B2B is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.115 H 104.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#938B2B
RGBrgb(147, 139, 43)
HSLhsl(55, 55%, 37%)
HSVhsv(55, 71%, 58%)
CMYKcmyk(0%, 5.4%, 70.7%, 42.4%)
CIE-LABlab(56.92, -8.72, 49.89)
CIE-LCHlch(56.92, 50.64, 99.91°)
OKLaboklab(62.57% -0.0288 0.1113)
OKLCHoklch(62.57% 0.115 104.5)
XYZxyz(21.7022, 24.8435, 5.9371)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938B2B #2B3393
analogous
#93572B #938B2B #67932B
triadic
#938B2B #2B938B #8B2B93
tetradic
#938B2B #2B9357 #2B3393 #932B67
square
#938B2B #2B9357 #2B3393 #932B67
split-complementary
#938B2B #2B6793 #572B93
monochromatic
#34310F #645E1D #938B2B #C2B839 #D2CA66

Accessibility & contrast

On white

3.52
#938B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#938B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938B2B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938B2B#FFFFFF#000000##000000
##938B2B1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861C
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#9E8178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #938b2b;
/* rgb */ color: rgb(147, 139, 43);
/* oklch */ color: oklch(62.6% 0.115 104.5);
Tailwind
colors: {
  custom: {
    50: '#b6ac6b',
    500: '#938b2b',
    950: '#000000',
  },
}
SCSS
$custom: #938b2b;
$custom-light: #b6ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#938b2b",
  "rgb": {
    "r": 147,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 55.385,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.11499,
    "h": 104.5
  },
  "luminance": 0.24843
}

Semantic roles & 50–950 ramp

primary
#938B2B
secondary
#6168B9
accent
#55DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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