#958F1D#958F1D

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

Color values

HEX#958F1D
RGBrgb(149, 143, 29)
HSLhsl(57, 67%, 35%)
HSVhsv(57, 81%, 58%)
CMYKcmyk(0%, 4%, 80.5%, 41.6%)
CIE-LABlab(58.15, -10.61, 56.13)
CIE-LCHlch(58.15, 57.12, 100.70°)
OKLaboklab(63.56% -0.0356 0.1218)
OKLCHoklch(63.56% 0.127 106.3)
XYZxyz(22.4396, 26.1240, 5.0226)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958F1D #1D2395
analogous
#95531D #958F1D #5F951D
triadic
#958F1D #1D958F #8F1D95
tetradic
#958F1D #1D9553 #1D2395 #951D5F
square
#958F1D #1D9553 #1D2395 #951D5F
split-complementary
#958F1D #1D5F95 #531D95
monochromatic
#2F2D09 #625E13 #958F1D #C8C027 #DDD650

Accessibility & contrast

On white

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

On black

6.22
#958F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958F1D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958F1D#FFFFFF#000000##000000
##958F1D1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #958f1d;
/* rgb */ color: rgb(149, 143, 29);
/* oklch */ color: oklch(63.6% 0.127 106.3);
Tailwind
colors: {
  custom: {
    50: '#b8af64',
    500: '#958f1d',
    950: '#000000',
  },
}
SCSS
$custom: #958f1d;
$custom-light: #b8af64;
$custom-dark: #000000;
JSON
{
  "hex": "#958f1d",
  "rgb": {
    "r": 149,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 57,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63563,
    "c": 0.12688,
    "h": 106.3
  },
  "luminance": 0.26123
}

Semantic roles & 50–950 ramp

primary
#958F1D
secondary
#4E54C0
accent
#46EA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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