#958726#958726

#958726 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.115 H 100.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#958726
RGBrgb(149, 135, 38)
HSLhsl(52, 59%, 37%)
HSVhsv(52, 74%, 58%)
CMYKcmyk(0%, 9.4%, 74.5%, 41.6%)
CIE-LABlab(55.95, -5.89, 50.97)
CIE-LCHlch(55.95, 51.31, 96.59°)
OKLaboklab(61.82% -0.0215 0.1126)
OKLCHoklch(61.82% 0.115 100.8)
XYZxyz(21.4092, 23.8584, 5.3108)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958726 #263495
analogous
#954F26 #958726 #6C9526
triadic
#958726 #269587 #872695
tetradic
#958726 #26954F #263495 #95266C
square
#958726 #26954F #263495 #95266C
split-complementary
#958726 #266C95 #4F2695
monochromatic
#332F0D #645B1A #958726 #C6B332 #D6C75F

Accessibility & contrast

On white

3.64
#958726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#958726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958726
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958726#FFFFFF#000000##000000
##9587261.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948315
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#A17D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #958726;
/* rgb */ color: rgb(149, 135, 38);
/* oklch */ color: oklch(61.8% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#b8a968',
    500: '#958726',
    950: '#000000',
  },
}
SCSS
$custom: #958726;
$custom-light: #b8a968;
$custom-dark: #000000;
JSON
{
  "hex": "#958726",
  "rgb": {
    "r": 149,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 52.432,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.11462,
    "h": 100.8
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#958726
secondary
#5B67BB
accent
#59E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958726

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

Preview Lab → · Contrast checker → · Palette generator →

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