#958E28#958E28

#958E28 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.120 H 105.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#958E28
RGBrgb(149, 142, 40)
HSLhsl(56, 58%, 37%)
HSVhsv(56, 73%, 58%)
CMYKcmyk(0%, 4.7%, 73.2%, 41.6%)
CIE-LABlab(57.93, -9.59, 52.12)
CIE-LCHlch(57.93, 53.00, 100.43°)
OKLaboklab(63.41% -0.0317 0.1154)
OKLCHoklch(63.41% 0.12 105.4)
XYZxyz(22.4513, 25.8896, 5.8216)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958E28 #282F95
analogous
#955828 #958E28 #669528
triadic
#958E28 #28958E #8E2895
tetradic
#958E28 #289558 #282F95 #952866
square
#958E28 #289558 #282F95 #952866
split-complementary
#958E28 #286695 #582895
monochromatic
#35320E #65601B #958E28 #C5BC35 #D5CE62

Accessibility & contrast

On white

3.40
#958E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#958E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958E28
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958E28#FFFFFF#000000##000000
##958E281.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8916
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#A0847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958e28;
/* rgb */ color: rgb(149, 142, 40);
/* oklch */ color: oklch(63.4% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#b7ae69',
    500: '#958e28',
    950: '#000000',
  },
}
SCSS
$custom: #958e28;
$custom-light: #b7ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#958e28",
  "rgb": {
    "r": 149,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 56.147,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63406,
    "c": 0.11969,
    "h": 105.4
  },
  "luminance": 0.25889
}

Semantic roles & 50–950 ramp

primary
#958E28
secondary
#5E64BB
accent
#51E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958E28

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

Preview Lab → · Contrast checker → · Palette generator →

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