#958A1D#958A1D

#958A1D is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.4% C 0.122 H 103.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#958A1D
RGBrgb(149, 138, 29)
HSLhsl(55, 67%, 35%)
HSVhsv(55, 81%, 58%)
CMYKcmyk(0%, 7.4%, 80.5%, 41.6%)
CIE-LABlab(56.74, -7.91, 54.87)
CIE-LCHlch(56.74, 55.44, 98.20°)
OKLaboklab(62.44% -0.0281 0.1191)
OKLCHoklch(62.44% 0.122 103.3)
XYZxyz(21.7057, 24.6562, 4.7779)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958A1D #1D2895
analogous
#954E1D #958A1D #64951D
triadic
#958A1D #1D958A #8A1D95
tetradic
#958A1D #1D954E #1D2895 #951D64
square
#958A1D #1D954E #1D2895 #951D64
split-complementary
#958A1D #1D6495 #4E1D95
monochromatic
#2F2B09 #625B13 #958A1D #C8B927 #DDD050

Accessibility & contrast

On white

3.54
#958A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#958A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958A1D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958A1D#FFFFFF#000000##000000
##958A1D1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#A18076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #958a1d;
/* rgb */ color: rgb(149, 138, 29);
/* oklch */ color: oklch(62.4% 0.122 103.3);
Tailwind
colors: {
  custom: {
    50: '#b8ab64',
    500: '#958a1d',
    950: '#000000',
  },
}
SCSS
$custom: #958a1d;
$custom-light: #b8ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#958a1d",
  "rgb": {
    "r": 149,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 54.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62436,
    "c": 0.12235,
    "h": 103.3
  },
  "luminance": 0.24655
}

Semantic roles & 50–950 ramp

primary
#958A1D
secondary
#4E59C0
accent
#4DEA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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