#958C1F#958C1F

#958C1F is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.123 H 104.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#958C1F
RGBrgb(149, 140, 31)
HSLhsl(55, 66%, 35%)
HSVhsv(55, 79%, 58%)
CMYKcmyk(0%, 6%, 79.2%, 41.6%)
CIE-LABlab(57.31, -8.92, 54.74)
CIE-LCHlch(57.31, 55.46, 99.25°)
OKLaboklab(62.9% -0.0307 0.1192)
OKLCHoklch(62.9% 0.123 104.5)
XYZxyz(22.0208, 25.2456, 5.0090)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958C1F #1F2895
analogous
#95511F #958C1F #63951F
triadic
#958C1F #1F958C #8C1F95
tetradic
#958C1F #1F9551 #1F2895 #951F63
square
#958C1F #1F9551 #1F2895 #951F63
split-complementary
#958C1F #1F6395 #511F95
monochromatic
#302D0A #625C14 #958C1F #C8BC2A #DBD153

Accessibility & contrast

On white

3.47
#958C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#958C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958C1F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958C1F#FFFFFF#000000##000000
##958C1F1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#A18278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958c1f;
/* rgb */ color: rgb(149, 140, 31);
/* oklch */ color: oklch(62.9% 0.123 104.5);
Tailwind
colors: {
  custom: {
    50: '#b8ad65',
    500: '#958c1f',
    950: '#000000',
  },
}
SCSS
$custom: #958c1f;
$custom-light: #b8ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#958c1f",
  "rgb": {
    "r": 149,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 55.424,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62897,
    "c": 0.1231,
    "h": 104.5
  },
  "luminance": 0.25245
}

Semantic roles & 50–950 ramp

primary
#958C1F
secondary
#515ABF
accent
#4CE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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