#958F1F#958F1F

#958F1F is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.126 H 106.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#958F1F
RGBrgb(149, 143, 31)
HSLhsl(57, 66%, 35%)
HSVhsv(57, 79%, 58%)
CMYKcmyk(0%, 4%, 79.2%, 41.6%)
CIE-LABlab(58.16, -10.53, 55.51)
CIE-LCHlch(58.16, 56.50, 100.74°)
OKLaboklab(63.57% -0.0352 0.1209)
OKLCHoklch(63.57% 0.126 106.3)
XYZxyz(22.4652, 26.1343, 5.1571)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958F1F #1F2595
analogous
#95541F #958F1F #60951F
triadic
#958F1F #1F958F #8F1F95
tetradic
#958F1F #1F9554 #1F2595 #951F60
square
#958F1F #1F9554 #1F2595 #951F60
split-complementary
#958F1F #1F6095 #541F95
monochromatic
#302E0A #625E14 #958F1F #C8C02A #DBD453

Accessibility & contrast

On white

3.37
#958F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#958F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958F1F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958F1F#FFFFFF#000000##000000
##958F1F1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9E8E28
Tritanopia (blue-blind)
#A0857A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #958f1f;
/* rgb */ color: rgb(149, 143, 31);
/* oklch */ color: oklch(63.6% 0.126 106.3);
Tailwind
colors: {
  custom: {
    50: '#b8af65',
    500: '#958f1f',
    950: '#000000',
  },
}
SCSS
$custom: #958f1f;
$custom-light: #b8af65;
$custom-dark: #000000;
JSON
{
  "hex": "#958f1f",
  "rgb": {
    "r": 149,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 56.949,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63574,
    "c": 0.12588,
    "h": 106.3
  },
  "luminance": 0.26133
}

Semantic roles & 50–950 ramp

primary
#958F1F
secondary
#5157BF
accent
#48E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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