#938E20#938E20

#938E20 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.125 H 106.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#938E20
RGBrgb(147, 142, 32)
HSLhsl(57, 64%, 35%)
HSVhsv(57, 78%, 58%)
CMYKcmyk(0%, 3.4%, 78.2%, 42.4%)
CIE-LABlab(57.71, -10.86, 54.70)
CIE-LCHlch(57.71, 55.77, 101.23°)
OKLaboklab(63.17% -0.036 0.1194)
OKLCHoklch(63.17% 0.125 106.8)
XYZxyz(21.9672, 25.6541, 5.1608)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938E20 #202593
analogous
#935420 #938E20 #5F9320
triadic
#938E20 #20938E #8E2093
tetradic
#938E20 #209354 #202593 #93205F
square
#938E20 #209354 #202593 #93205F
split-complementary
#938E20 #205F93 #542093
monochromatic
#2E2D0A #615D15 #938E20 #C5BF2B #DAD454

Accessibility & contrast

On white

3.43
#938E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#938E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938E20
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938E20#FFFFFF#000000##000000
##938E201.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8803
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#9E8479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938e20;
/* rgb */ color: rgb(147, 142, 32);
/* oklch */ color: oklch(63.2% 0.125 106.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae65',
    500: '#938e20',
    950: '#000000',
  },
}
SCSS
$custom: #938e20;
$custom-light: #b6ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#938e20",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 57.391,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.12471,
    "h": 106.8
  },
  "luminance": 0.25653
}

Semantic roles & 50–950 ramp

primary
#938E20
secondary
#5256BD
accent
#48E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938E20

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

Preview Lab → · Contrast checker → · Palette generator →

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