#958718#958718

#958718 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.122 H 101.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#958718
RGBrgb(149, 135, 24)
HSLhsl(53, 72%, 34%)
HSVhsv(53, 84%, 58%)
CMYKcmyk(0%, 9.4%, 83.9%, 41.6%)
CIE-LABlab(55.87, -6.45, 55.61)
CIE-LCHlch(55.87, 55.99, 96.61°)
OKLaboklab(61.74% -0.0244 0.1197)
OKLCHoklch(61.74% 0.122 101.5)
XYZxyz(21.2243, 23.7845, 4.3369)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958718 #182695
analogous
#954918 #958718 #659518
triadic
#958718 #189587 #871895
tetradic
#958718 #189549 #182695 #951865
square
#958718 #189549 #182695 #951865
split-complementary
#958718 #186595 #491895
monochromatic
#2C2707 #605710 #958718 #CAB720 #E1D046

Accessibility & contrast

On white

3.65
#958718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#958718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958718
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958718#FFFFFF#000000##000000
##9587181.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#998822
Tritanopia (blue-blind)
#A17C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #958718;
/* rgb */ color: rgb(149, 135, 24);
/* oklch */ color: oklch(61.7% 0.122 101.5);
Tailwind
colors: {
  custom: {
    50: '#b8a961',
    500: '#958718',
    950: '#000000',
  },
}
SCSS
$custom: #958718;
$custom-light: #b8a961;
$custom-dark: #000000;
JSON
{
  "hex": "#958718",
  "rgb": {
    "r": 149,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 53.28,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.12214,
    "h": 101.5
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#958718
secondary
#4654C2
accent
#4DEF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #958718

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

Preview Lab → · Contrast checker → · Palette generator →

#958718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva