#938E1F#938E1F

#938E1F is a light, vivid yellow. Relative luminance 0.256; 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#938E1F
RGBrgb(147, 142, 31)
HSLhsl(57, 65%, 35%)
HSVhsv(57, 79%, 58%)
CMYKcmyk(0%, 3.4%, 78.9%, 42.4%)
CIE-LABlab(57.70, -10.90, 55.02)
CIE-LCHlch(57.70, 56.09, 101.21°)
OKLaboklab(63.16% -0.0362 0.1199)
OKLCHoklch(63.16% 0.125 106.8)
XYZxyz(21.9539, 25.6488, 5.0903)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938E1F #1F2493
analogous
#93541F #938E1F #5E931F
triadic
#938E1F #1F938E #8E1F93
tetradic
#938E1F #1F9354 #1F2493 #931F5E
square
#938E1F #1F9354 #1F2493 #931F5E
split-complementary
#938E1F #1F5E93 #541F93
monochromatic
#2E2C0A #605D14 #938E1F #C6BF2A #DAD552

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938E1F#FFFFFF#000000##000000
##938E1F1.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)
#9B8801
Deuteranopia (green-blind)
#9D8C28
Tritanopia (blue-blind)
#9E8479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938e1f;
/* rgb */ color: rgb(147, 142, 31);
/* oklch */ color: oklch(63.2% 0.125 106.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae65',
    500: '#938e1f',
    950: '#000000',
  },
}
SCSS
$custom: #938e1f;
$custom-light: #b6ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#938e1f",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 57.414,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63163,
    "c": 0.12524,
    "h": 106.8
  },
  "luminance": 0.25648
}

Semantic roles & 50–950 ramp

primary
#938E1F
secondary
#5055BE
accent
#47E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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