#9A9B2B#9A9B2B

#9A9B2B is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.8% C 0.130 H 110.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9A9B2B
RGBrgb(154, 155, 43)
HSLhsl(61, 57%, 39%)
HSVhsv(61, 72%, 61%)
CMYKcmyk(0.6%, 0%, 72.3%, 39.2%)
CIE-LABlab(62.07, -14.10, 55.15)
CIE-LCHlch(62.07, 56.93, 104.35°)
OKLaboklab(66.82% -0.0444 0.1222)
OKLCHoklch(66.82% 0.13 110)
XYZxyz(25.4847, 30.4879, 6.8273)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9B2B #2C2B9B
analogous
#9B642B #9A9B2B #629B2B
triadic
#9A9B2B #2B9A9B #9B2B9A
tetradic
#9A9B2B #2B9B64 #2C2B9B #9B2B62
square
#9A9B2B #2B9B64 #2C2B9B #9B2B62
split-complementary
#9A9B2B #2B629B #642B9B
monochromatic
#3B3B10 #6A6B1E #9A9B2B #C7C93B #D5D66B

Accessibility & contrast

On white

2.96
#9A9B2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#9A9B2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A9B2B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9B2B#FFFFFF#000000##000000
##9A9B2B1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#A59185
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9a9b2b;
/* rgb */ color: rgb(154, 155, 43);
/* oklch */ color: oklch(66.8% 0.130 110.0);
Tailwind
colors: {
  custom: {
    50: '#bbb86c',
    500: '#9a9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #9a9b2b;
$custom-light: #bbb86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9b2b",
  "rgb": {
    "r": 154,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 60.536,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6682,
    "c": 0.12999,
    "h": 110
  },
  "luminance": 0.30487
}

Semantic roles & 50–950 ramp

primary
#9A9B2B
secondary
#6665BC
accent
#48E049
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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