#958D1F#958D1F

#958D1F is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.124 H 105.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#958D1F
RGBrgb(149, 141, 31)
HSLhsl(56, 66%, 35%)
HSVhsv(56, 79%, 58%)
CMYKcmyk(0%, 5.4%, 79.2%, 41.6%)
CIE-LABlab(57.60, -9.46, 55.00)
CIE-LCHlch(57.60, 55.80, 99.76°)
OKLaboklab(63.12% -0.0322 0.1198)
OKLCHoklch(63.12% 0.124 105.1)
XYZxyz(22.1676, 25.5391, 5.0579)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D1F #1F2795
analogous
#95521F #958D1F #62951F
triadic
#958D1F #1F958D #8D1F95
tetradic
#958D1F #1F9552 #1F2795 #951F62
square
#958D1F #1F9552 #1F2795 #951F62
split-complementary
#958D1F #1F6295 #521F95
monochromatic
#302D0A #625D14 #958D1F #C8BD2A #DBD253

Accessibility & contrast

On white

3.44
#958D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#958D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D1F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D1F#FFFFFF#000000##000000
##958D1F1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8801
Deuteranopia (green-blind)
#9D8C28
Tritanopia (blue-blind)
#A18379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d1f;
/* rgb */ color: rgb(149, 141, 31);
/* oklch */ color: oklch(63.1% 0.124 105.1);
Tailwind
colors: {
  custom: {
    50: '#b8ae65',
    500: '#958d1f',
    950: '#000000',
  },
}
SCSS
$custom: #958d1f;
$custom-light: #b8ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#958d1f",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 55.932,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.12402,
    "h": 105.1
  },
  "luminance": 0.25538
}

Semantic roles & 50–950 ramp

primary
#958D1F
secondary
#5159BF
accent
#4BE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#958D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva