#938F1A#938F1A

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

Color values

HEX#938F1A
RGBrgb(147, 143, 26)
HSLhsl(58, 70%, 34%)
HSVhsv(58, 82%, 58%)
CMYKcmyk(0%, 2.7%, 82.3%, 42.4%)
CIE-LABlab(57.96, -11.62, 56.78)
CIE-LCHlch(57.96, 57.95, 101.57°)
OKLaboklab(63.37% -0.0386 0.1227)
OKLCHoklch(63.37% 0.129 107.5)
XYZxyz(22.0425, 25.9233, 4.8197)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938F1A #1A1E93
analogous
#93531A #938F1A #5B931A
triadic
#938F1A #1A938F #8F1A93
tetradic
#938F1A #1A9353 #1A1E93 #931A5B
square
#938F1A #1A9353 #1A1E93 #931A5B
split-complementary
#938F1A #1A5B93 #531A93
monochromatic
#2B2A08 #5F5C11 #938F1A #C7C223 #DFDA49

Accessibility & contrast

On white

3.40
#938F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#938F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938F1A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938F1A#FFFFFF#000000##000000
##938F1A1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #938f1a;
/* rgb */ color: rgb(147, 143, 26);
/* oklch */ color: oklch(63.4% 0.129 107.5);
Tailwind
colors: {
  custom: {
    50: '#b6af63',
    500: '#938f1a',
    950: '#000000',
  },
}
SCSS
$custom: #938f1a;
$custom-light: #b6af63;
$custom-dark: #000000;
JSON
{
  "hex": "#938f1a",
  "rgb": {
    "r": 147,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 58.017,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63365,
    "c": 0.12863,
    "h": 107.5
  },
  "luminance": 0.25923
}

Semantic roles & 50–950 ramp

primary
#938F1A
secondary
#484CC0
accent
#41ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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