#938B20#938B20

#938B20 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.5% C 0.122 H 105.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#938B20
RGBrgb(147, 139, 32)
HSLhsl(56, 64%, 35%)
HSVhsv(56, 78%, 58%)
CMYKcmyk(0%, 5.4%, 78.2%, 42.4%)
CIE-LABlab(56.85, -9.25, 53.92)
CIE-LCHlch(56.85, 54.71, 99.73°)
OKLaboklab(62.49% -0.0314 0.1178)
OKLCHoklch(62.49% 0.122 105)
XYZxyz(21.5269, 24.7734, 5.0140)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938B20 #202893
analogous
#935120 #938B20 #629320
triadic
#938B20 #20938B #8B2093
tetradic
#938B20 #209351 #202893 #932062
square
#938B20 #209351 #202893 #932062
split-complementary
#938B20 #206293 #512093
monochromatic
#2E2C0A #615B15 #938B20 #C5BB2B #DAD054

Accessibility & contrast

On white

3.53
#938B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#938B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938B20
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938B20#FFFFFF#000000##000000
##938B201.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988605
Deuteranopia (green-blind)
#9B8A28
Tritanopia (blue-blind)
#9E8177
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #938b20;
/* rgb */ color: rgb(147, 139, 32);
/* oklch */ color: oklch(62.5% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#b6ac65',
    500: '#938b20',
    950: '#000000',
  },
}
SCSS
$custom: #938b20;
$custom-light: #b6ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#938b20",
  "rgb": {
    "r": 147,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 55.826,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62489,
    "c": 0.12188,
    "h": 105
  },
  "luminance": 0.24773
}

Semantic roles & 50–950 ramp

primary
#938B20
secondary
#5259BD
accent
#4CE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938B20

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

Preview Lab → · Contrast checker → · Palette generator →

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