#958F28#958F28

#958F28 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.6% C 0.121 H 106.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#958F28
RGBrgb(149, 143, 40)
HSLhsl(57, 58%, 37%)
HSVhsv(57, 73%, 58%)
CMYKcmyk(0%, 4%, 73.2%, 41.6%)
CIE-LABlab(58.22, -10.13, 52.40)
CIE-LCHlch(58.22, 53.37, 100.94°)
OKLaboklab(63.63% -0.0333 0.116)
OKLCHoklch(63.63% 0.121 106)
XYZxyz(22.6008, 26.1885, 5.8715)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958F28 #282E95
analogous
#955828 #958F28 #659528
triadic
#958F28 #28958F #8F2895
tetradic
#958F28 #289558 #282E95 #952865
square
#958F28 #289558 #282E95 #952865
split-complementary
#958F28 #286595 #582895
monochromatic
#35320E #65611B #958F28 #C5BD35 #D5CF62

Accessibility & contrast

On white

3.37
#958F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#958F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958F28
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958F28#FFFFFF#000000##000000
##958F281.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#A0857B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #958f28;
/* rgb */ color: rgb(149, 143, 40);
/* oklch */ color: oklch(63.6% 0.121 106.0);
Tailwind
colors: {
  custom: {
    50: '#b7af69',
    500: '#958f28',
    950: '#000000',
  },
}
SCSS
$custom: #958f28;
$custom-light: #b7af69;
$custom-dark: #000000;
JSON
{
  "hex": "#958f28",
  "rgb": {
    "r": 149,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 56.697,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63631,
    "c": 0.12065,
    "h": 106
  },
  "luminance": 0.26188
}

Semantic roles & 50–950 ramp

primary
#958F28
secondary
#5E63BB
accent
#4FE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958F28

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

Preview Lab → · Contrast checker → · Palette generator →

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