#938F20#938F20

#938F20 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.4% C 0.126 H 107.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#938F20
RGBrgb(147, 143, 32)
HSLhsl(58, 64%, 35%)
HSVhsv(58, 78%, 58%)
CMYKcmyk(0%, 2.7%, 78.2%, 42.4%)
CIE-LABlab(57.99, -11.40, 54.96)
CIE-LCHlch(57.99, 56.13, 101.71°)
OKLaboklab(63.4% -0.0375 0.12)
OKLCHoklch(63.4% 0.126 107.3)
XYZxyz(22.1167, 25.9530, 5.2106)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938F20 #202493
analogous
#935520 #938F20 #5D9320
triadic
#938F20 #20938F #8F2093
tetradic
#938F20 #209355 #202493 #93205D
square
#938F20 #209355 #202493 #93205D
split-complementary
#938F20 #205D93 #552093
monochromatic
#2E2D0A #615E15 #938F20 #C5C02B #DAD554

Accessibility & contrast

On white

3.39
#938F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#938F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938F20
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938F20#FFFFFF#000000##000000
##938F201.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8903
Deuteranopia (green-blind)
#9E8D29
Tritanopia (blue-blind)
#9E857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938f20;
/* rgb */ color: rgb(147, 143, 32);
/* oklch */ color: oklch(63.4% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#b6af66',
    500: '#938f20',
    950: '#000000',
  },
}
SCSS
$custom: #938f20;
$custom-light: #b6af66;
$custom-dark: #000000;
JSON
{
  "hex": "#938f20",
  "rgb": {
    "r": 147,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 57.913,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63396,
    "c": 0.12569,
    "h": 107.3
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#938F20
secondary
#5255BD
accent
#46E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938F20

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

Preview Lab → · Contrast checker → · Palette generator →

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