#958D26#958D26

#958D26 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.120 H 104.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#958D26
RGBrgb(149, 141, 38)
HSLhsl(56, 59%, 37%)
HSVhsv(56, 74%, 58%)
CMYKcmyk(0%, 5.4%, 74.5%, 41.6%)
CIE-LABlab(57.64, -9.15, 52.59)
CIE-LCHlch(57.64, 53.38, 99.87°)
OKLaboklab(63.17% -0.0307 0.116)
OKLCHoklch(63.17% 0.12 104.8)
XYZxyz(22.2701, 25.5801, 5.5977)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D26 #262E95
analogous
#955626 #958D26 #669526
triadic
#958D26 #26958D #8D2695
tetradic
#958D26 #269556 #262E95 #952666
square
#958D26 #269556 #262E95 #952666
split-complementary
#958D26 #266695 #562695
monochromatic
#33310D #645F1A #958D26 #C6BB32 #D6CE5F

Accessibility & contrast

On white

3.43
#958D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#958D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D26
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D26#FFFFFF#000000##000000
##958D261.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8813
Deuteranopia (green-blind)
#9D8C2D
Tritanopia (blue-blind)
#A08379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d26;
/* rgb */ color: rgb(149, 141, 38);
/* oklch */ color: oklch(63.2% 0.120 104.8);
Tailwind
colors: {
  custom: {
    50: '#b7ae68',
    500: '#958d26',
    950: '#000000',
  },
}
SCSS
$custom: #958d26;
$custom-light: #b7ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#958d26",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 55.676,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63166,
    "c": 0.12001,
    "h": 104.8
  },
  "luminance": 0.25579
}

Semantic roles & 50–950 ramp

primary
#958D26
secondary
#5B62BB
accent
#51E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958D26

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

Preview Lab → · Contrast checker → · Palette generator →

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