#938D20#938D20

#938D20 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.124 H 106.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#938D20
RGBrgb(147, 141, 32)
HSLhsl(57, 64%, 35%)
HSVhsv(57, 78%, 58%)
CMYKcmyk(0%, 4.1%, 78.2%, 42.4%)
CIE-LABlab(57.42, -10.32, 54.44)
CIE-LCHlch(57.42, 55.41, 100.74°)
OKLaboklab(62.94% -0.0345 0.1189)
OKLCHoklch(62.94% 0.124 106.2)
XYZxyz(21.8191, 25.3579, 5.1115)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938D20 #202693
analogous
#935420 #938D20 #5F9320
triadic
#938D20 #20938D #8D2093
tetradic
#938D20 #209354 #202693 #93205F
square
#938D20 #209354 #202693 #93205F
split-complementary
#938D20 #205F93 #542093
monochromatic
#2E2D0A #615D15 #938D20 #C5BD2B #DAD354

Accessibility & contrast

On white

3.46
#938D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#938D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938D20
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938D20#FFFFFF#000000##000000
##938D201.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8804
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#9E8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #938d20;
/* rgb */ color: rgb(147, 141, 32);
/* oklch */ color: oklch(62.9% 0.124 106.2);
Tailwind
colors: {
  custom: {
    50: '#b6ae65',
    500: '#938d20',
    950: '#000000',
  },
}
SCSS
$custom: #938d20;
$custom-light: #b6ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#938d20",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 56.87,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62942,
    "c": 0.12376,
    "h": 106.2
  },
  "luminance": 0.25357
}

Semantic roles & 50–950 ramp

primary
#938D20
secondary
#5257BD
accent
#49E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938D20

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

Preview Lab → · Contrast checker → · Palette generator →

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