#958D1E#958D1E

#958D1E is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.125 H 105.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#958D1E
RGBrgb(149, 141, 30)
HSLhsl(56, 66%, 35%)
HSVhsv(56, 80%, 58%)
CMYKcmyk(0%, 5.4%, 79.9%, 41.6%)
CIE-LABlab(57.59, -9.49, 55.31)
CIE-LCHlch(57.59, 56.12, 99.74°)
OKLaboklab(63.12% -0.0324 0.1202)
OKLCHoklch(63.12% 0.125 105.1)
XYZxyz(22.1546, 25.5339, 4.9896)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D1E #1E2695
analogous
#95511E #958D1E #62951E
triadic
#958D1E #1E958D #8D1E95
tetradic
#958D1E #1E9551 #1E2695 #951E62
square
#958D1E #1E9551 #1E2695 #951E62
split-complementary
#958D1E #1E6295 #511E95
monochromatic
#2F2D09 #625D14 #958D1E #C8BD28 #DCD351

Accessibility & contrast

On white

3.44
#958D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#958D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D1E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D1E#FFFFFF#000000##000000
##958D1E1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9D8C27
Tritanopia (blue-blind)
#A18379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d1e;
/* rgb */ color: rgb(149, 141, 30);
/* oklch */ color: oklch(63.1% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#b8ae64',
    500: '#958d1e',
    950: '#000000',
  },
}
SCSS
$custom: #958d1e;
$custom-light: #b8ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#958d1e",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 55.966,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63117,
    "c": 0.12454,
    "h": 105.1
  },
  "luminance": 0.25533
}

Semantic roles & 50–950 ramp

primary
#958D1E
secondary
#5057BF
accent
#4AE93E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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