#938F1F#938F1F

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

Color values

HEX#938F1F
RGBrgb(147, 143, 31)
HSLhsl(58, 65%, 35%)
HSVhsv(58, 79%, 58%)
CMYKcmyk(0%, 2.7%, 78.9%, 42.4%)
CIE-LABlab(57.99, -11.44, 55.28)
CIE-LCHlch(57.99, 56.45, 101.69°)
OKLaboklab(63.39% -0.0377 0.1205)
OKLCHoklch(63.39% 0.126 107.4)
XYZxyz(22.1033, 25.9477, 5.1402)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938F1F #1F2393
analogous
#93551F #938F1F #5D931F
triadic
#938F1F #1F938F #8F1F93
tetradic
#938F1F #1F9355 #1F2393 #931F5D
square
#938F1F #1F9355 #1F2393 #931F5D
split-complementary
#938F1F #1F5D93 #551F93
monochromatic
#2E2D0A #605E14 #938F1F #C6C02A #DAD652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938F1F#FFFFFF#000000##000000
##938F1F1.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)
#9C8900
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#9E857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938f1f;
/* rgb */ color: rgb(147, 143, 31);
/* oklch */ color: oklch(63.4% 0.126 107.4);
Tailwind
colors: {
  custom: {
    50: '#b6af65',
    500: '#938f1f',
    950: '#000000',
  },
}
SCSS
$custom: #938f1f;
$custom-light: #b6af65;
$custom-dark: #000000;
JSON
{
  "hex": "#938f1f",
  "rgb": {
    "r": 147,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 57.931,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6339,
    "c": 0.1262,
    "h": 107.4
  },
  "luminance": 0.25947
}

Semantic roles & 50–950 ramp

primary
#938F1F
secondary
#5054BE
accent
#45E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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