#958E1F#958E1F

#958E1F is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.125 H 105.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#958E1F
RGBrgb(149, 142, 31)
HSLhsl(56, 66%, 35%)
HSVhsv(56, 79%, 58%)
CMYKcmyk(0%, 4.7%, 79.2%, 41.6%)
CIE-LABlab(57.88, -9.99, 55.25)
CIE-LCHlch(57.88, 56.15, 100.25°)
OKLaboklab(63.35% -0.0337 0.1203)
OKLCHoklch(63.35% 0.125 105.7)
XYZxyz(22.3157, 25.8354, 5.1073)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958E1F #1F2695
analogous
#95531F #958E1F #61951F
triadic
#958E1F #1F958E #8E1F95
tetradic
#958E1F #1F9553 #1F2695 #951F61
square
#958E1F #1F9553 #1F2695 #951F61
split-complementary
#958E1F #1F6195 #531F95
monochromatic
#302D0A #625E14 #958E1F #C8BE2A #DBD353

Accessibility & contrast

On white

3.41
#958E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#958E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958E1F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958E1F#FFFFFF#000000##000000
##958E1F1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8901
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#A18479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958e1f;
/* rgb */ color: rgb(149, 142, 31);
/* oklch */ color: oklch(63.3% 0.125 105.7);
Tailwind
colors: {
  custom: {
    50: '#b8ae65',
    500: '#958e1f',
    950: '#000000',
  },
}
SCSS
$custom: #958e1f;
$custom-light: #b8ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#958e1f",
  "rgb": {
    "r": 149,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 56.441,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63348,
    "c": 0.12494,
    "h": 105.7
  },
  "luminance": 0.25834
}

Semantic roles & 50–950 ramp

primary
#958E1F
secondary
#5158BF
accent
#49E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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