#959128#959128

#959128 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.1% C 0.123 H 107.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#959128
RGBrgb(149, 145, 40)
HSLhsl(58, 58%, 37%)
HSVhsv(58, 73%, 58%)
CMYKcmyk(0%, 2.7%, 73.2%, 41.6%)
CIE-LABlab(58.78, -11.20, 52.95)
CIE-LCHlch(58.78, 54.12, 101.94°)
OKLaboklab(64.08% -0.0363 0.1171)
OKLCHoklch(64.08% 0.123 107.2)
XYZxyz(22.9037, 26.7943, 5.9724)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959128 #282C95
analogous
#955B28 #959128 #639528
triadic
#959128 #289591 #912895
tetradic
#959128 #28955B #282C95 #952863
square
#959128 #28955B #282C95 #952863
split-complementary
#959128 #286395 #5B2895
monochromatic
#35330E #65621B #959128 #C5C035 #D5D162

Accessibility & contrast

On white

3.30
#959128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#959128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959128
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959128#FFFFFF#000000##000000
##9591281.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#A08F30
Tritanopia (blue-blind)
#A0877D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #959128;
/* rgb */ color: rgb(149, 145, 40);
/* oklch */ color: oklch(64.1% 0.123 107.2);
Tailwind
colors: {
  custom: {
    50: '#b7b16a',
    500: '#959128',
    950: '#000000',
  },
}
SCSS
$custom: #959128;
$custom-light: #b7b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#959128",
  "rgb": {
    "r": 149,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 57.798,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.12263,
    "h": 107.2
  },
  "luminance": 0.26794
}

Semantic roles & 50–950 ramp

primary
#959128
secondary
#5E62BB
accent
#4DE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #959128

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

Preview Lab → · Contrast checker → · Palette generator →

#959128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva