#958A26#958A26

#958A26 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.117 H 102.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#958A26
RGBrgb(149, 138, 38)
HSLhsl(54, 59%, 37%)
HSVhsv(54, 74%, 58%)
CMYKcmyk(0%, 7.4%, 74.5%, 41.6%)
CIE-LABlab(56.79, -7.53, 51.78)
CIE-LCHlch(56.79, 52.33, 98.27°)
OKLaboklab(62.49% -0.0261 0.1143)
OKLCHoklch(62.49% 0.117 102.9)
XYZxyz(21.8337, 24.7074, 5.4523)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958A26 #263195
analogous
#955326 #958A26 #699526
triadic
#958A26 #26958A #8A2695
tetradic
#958A26 #269553 #263195 #952669
square
#958A26 #269553 #263195 #952669
split-complementary
#958A26 #266995 #532695
monochromatic
#33300D #645D1A #958A26 #C6B732 #D6CA5F

Accessibility & contrast

On white

3.53
#958A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#958A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958A26
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958A26#FFFFFF#000000##000000
##958A261.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978514
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#A18077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #958a26;
/* rgb */ color: rgb(149, 138, 38);
/* oklch */ color: oklch(62.5% 0.117 102.9);
Tailwind
colors: {
  custom: {
    50: '#b8ab68',
    500: '#958a26',
    950: '#000000',
  },
}
SCSS
$custom: #958a26;
$custom-light: #b8ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#958a26",
  "rgb": {
    "r": 149,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 54.054,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62492,
    "c": 0.11725,
    "h": 102.9
  },
  "luminance": 0.24706
}

Semantic roles & 50–950 ramp

primary
#958A26
secondary
#5B65BB
accent
#55E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958A26

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

Preview Lab → · Contrast checker → · Palette generator →

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