#958C28#958C28

#958C28 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.118 H 104.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#958C28
RGBrgb(149, 140, 40)
HSLhsl(55, 58%, 37%)
HSVhsv(55, 73%, 58%)
CMYKcmyk(0%, 6%, 73.2%, 41.6%)
CIE-LABlab(57.37, -8.51, 51.57)
CIE-LCHlch(57.37, 52.27, 99.37°)
OKLaboklab(62.96% -0.0287 0.1142)
OKLCHoklch(62.96% 0.118 104.1)
XYZxyz(22.1564, 25.2998, 5.7233)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958C28 #283195
analogous
#955628 #958C28 #689528
triadic
#958C28 #28958C #8C2895
tetradic
#958C28 #289556 #283195 #952868
square
#958C28 #289556 #283195 #952868
split-complementary
#958C28 #286895 #562895
monochromatic
#35310E #655F1B #958C28 #C5B935 #D5CC62

Accessibility & contrast

On white

3.47
#958C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#958C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958C28
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958C28#FFFFFF#000000##000000
##958C281.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998717
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A08278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958c28;
/* rgb */ color: rgb(149, 140, 40);
/* oklch */ color: oklch(63.0% 0.118 104.1);
Tailwind
colors: {
  custom: {
    50: '#b7ad69',
    500: '#958c28',
    950: '#000000',
  },
}
SCSS
$custom: #958c28;
$custom-light: #b7ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#958c28",
  "rgb": {
    "r": 149,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 55.046,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62955,
    "c": 0.11779,
    "h": 104.1
  },
  "luminance": 0.25299
}

Semantic roles & 50–950 ramp

primary
#958C28
secondary
#5E66BB
accent
#54E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958C28

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

Preview Lab → · Contrast checker → · Palette generator →

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