#9B9E59#9B9E59

#9B9E59 is a light, moderate yellow. Relative luminance 0.321; OKLCH L 68.1% C 0.092 H 110.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9B9E59
RGBrgb(155, 158, 89)
HSLhsl(63, 28%, 48%)
HSVhsv(63, 44%, 62%)
CMYKcmyk(1.9%, 0%, 43.7%, 38%)
CIE-LABlab(63.46, -11.62, 35.57)
CIE-LCHlch(63.46, 37.42, 108.08°)
OKLaboklab(68.1% -0.0325 0.0858)
OKLCHoklch(68.1% 0.092 110.8)
XYZxyz(27.5480, 32.1441, 14.2025)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9E59 #5C599E
analogous
#9E7E59 #9B9E59 #789E59
triadic
#9B9E59 #599B9E #9E599B
tetradic
#9B9E59 #599E7E #5C599E #9E5978
square
#9B9E59 #599E7E #5C599E #9E5978
split-complementary
#9B9E59 #59789E #7E599E
monochromatic
#4E502D #757743 #9B9E59 #B4B67E #CBCCA5

Accessibility & contrast

On white

2.83
#9B9E59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#9B9E59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9E59
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9E59#FFFFFF#000000##000000
##9B9E591.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89953
Deuteranopia (green-blind)
#A89B5C
Tritanopia (blue-blind)
#A3978D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9b9e59;
/* rgb */ color: rgb(155, 158, 89);
/* oklch */ color: oklch(68.1% 0.092 110.8);
Tailwind
colors: {
  custom: {
    50: '#baba89',
    500: '#9b9e59',
    950: '#000000',
  },
}
SCSS
$custom: #9b9e59;
$custom-light: #baba89;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9e59",
  "rgb": {
    "r": 155,
    "g": 158,
    "b": 89
  },
  "hsl": {
    "h": 62.609,
    "s": 27.935,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68096,
    "c": 0.09175,
    "h": 110.8
  },
  "luminance": 0.32144
}

Semantic roles & 50–950 ramp

primary
#9B9E59
secondary
#9A99BA
accent
#64C468
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110B
muted
#81807C

Preview Lab

Preview with #9B9E59

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

Preview Lab → · Contrast checker → · Palette generator →

#9B9E59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva