#938C1F#938C1F

#938C1F is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.123 H 105.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#938C1F
RGBrgb(147, 140, 31)
HSLhsl(56, 65%, 35%)
HSVhsv(56, 79%, 58%)
CMYKcmyk(0%, 4.8%, 78.9%, 42.4%)
CIE-LABlab(57.13, -9.83, 54.51)
CIE-LCHlch(57.13, 55.39, 100.22°)
OKLaboklab(62.71% -0.0332 0.1188)
OKLCHoklch(62.71% 0.123 105.6)
XYZxyz(21.6590, 25.0590, 4.9920)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938C1F #1F2693
analogous
#93521F #938C1F #60931F
triadic
#938C1F #1F938C #8C1F93
tetradic
#938C1F #1F9352 #1F2693 #931F60
square
#938C1F #1F9352 #1F2693 #931F60
split-complementary
#938C1F #1F6093 #521F93
monochromatic
#2E2C0A #605C14 #938C1F #C6BC2A #DAD252

Accessibility & contrast

On white

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

On black

6.01
#938C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938C1F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938C1F#FFFFFF#000000##000000
##938C1F1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#9E8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #938c1f;
/* rgb */ color: rgb(147, 140, 31);
/* oklch */ color: oklch(62.7% 0.123 105.6);
Tailwind
colors: {
  custom: {
    50: '#b6ad65',
    500: '#938c1f',
    950: '#000000',
  },
}
SCSS
$custom: #938c1f;
$custom-light: #b6ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#938c1f",
  "rgb": {
    "r": 147,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 56.379,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62709,
    "c": 0.12334,
    "h": 105.6
  },
  "luminance": 0.25058
}

Semantic roles & 50–950 ramp

primary
#938C1F
secondary
#5057BE
accent
#4AE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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