#938C2A#938C2A

#938C2A is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.117 H 105.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#938C2A
RGBrgb(147, 140, 42)
HSLhsl(56, 56%, 37%)
HSVhsv(56, 71%, 58%)
CMYKcmyk(0%, 4.8%, 71.4%, 42.4%)
CIE-LABlab(57.20, -9.31, 50.57)
CIE-LCHlch(57.20, 51.42, 100.44°)
OKLaboklab(62.78% -0.0306 0.1126)
OKLCHoklch(62.78% 0.117 105.2)
XYZxyz(21.8295, 25.1272, 5.8902)
Luminance0.2513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938C2A #2A3193
analogous
#93582A #938C2A #66932A
triadic
#938C2A #2A938C #8C2A93
tetradic
#938C2A #2A9358 #2A3193 #932A66
square
#938C2A #2A9358 #2A3193 #932A66
split-complementary
#938C2A #2A6693 #582A93
monochromatic
#34310F #635F1C #938C2A #C3B938 #D3CC65

Accessibility & contrast

On white

3.49
#938C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#938C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938C2A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938C2A#FFFFFF#000000##000000
##938C2A1.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871A
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#9E8279
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #938c2a;
/* rgb */ color: rgb(147, 140, 42);
/* oklch */ color: oklch(62.8% 0.117 105.2);
Tailwind
colors: {
  custom: {
    50: '#b6ad6a',
    500: '#938c2a',
    950: '#000000',
  },
}
SCSS
$custom: #938c2a;
$custom-light: #b6ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#938c2a",
  "rgb": {
    "r": 147,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 56,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62783,
    "c": 0.11665,
    "h": 105.2
  },
  "luminance": 0.25126
}

Semantic roles & 50–950 ramp

primary
#938C2A
secondary
#6066B9
accent
#53DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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