#958D28#958D28

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

Color values

HEX#958D28
RGBrgb(149, 141, 40)
HSLhsl(56, 58%, 37%)
HSVhsv(56, 73%, 58%)
CMYKcmyk(0%, 5.4%, 73.2%, 41.6%)
CIE-LABlab(57.65, -9.05, 51.85)
CIE-LCHlch(57.65, 52.63, 99.91°)
OKLaboklab(63.18% -0.0302 0.1148)
OKLCHoklch(63.18% 0.119 104.8)
XYZxyz(22.3032, 25.5934, 5.7723)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D28 #283095
analogous
#955628 #958D28 #679528
triadic
#958D28 #28958D #8D2895
tetradic
#958D28 #289556 #283095 #952867
square
#958D28 #289556 #283095 #952867
split-complementary
#958D28 #286795 #562895
monochromatic
#35320E #655F1B #958D28 #C5BB35 #D5CD62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##958D28#FFFFFF#000000##000000
##958D281.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)
#9A8817
Deuteranopia (green-blind)
#9C8D2F
Tritanopia (blue-blind)
#A08379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d28;
/* rgb */ color: rgb(149, 141, 40);
/* oklch */ color: oklch(63.2% 0.119 104.8);
Tailwind
colors: {
  custom: {
    50: '#b7ae69',
    500: '#958d28',
    950: '#000000',
  },
}
SCSS
$custom: #958d28;
$custom-light: #b7ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#958d28",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 55.596,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6318,
    "c": 0.11873,
    "h": 104.8
  },
  "luminance": 0.25593
}

Semantic roles & 50–950 ramp

primary
#958D28
secondary
#5E65BB
accent
#52E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958D28

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

Preview Lab → · Contrast checker → · Palette generator →

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