#9B902C#9B902C

#9B902C is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.4% C 0.118 H 102.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9B902C
RGBrgb(155, 144, 44)
HSLhsl(54, 56%, 39%)
HSVhsv(54, 72%, 61%)
CMYKcmyk(0%, 7.1%, 71.6%, 39.2%)
CIE-LABlab(59.06, -7.76, 51.86)
CIE-LCHlch(59.06, 52.43, 98.51°)
OKLaboklab(64.45% -0.0265 0.1154)
OKLCHoklch(64.45% 0.118 102.9)
XYZxyz(23.9465, 27.0979, 6.3514)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B902C #2C379B
analogous
#9B592C #9B902C #6F9B2C
triadic
#9B902C #2C9B90 #902C9B
tetradic
#9B902C #2C9B59 #2C379B #9B2C6F
square
#9B902C #2C9B59 #2C379B #9B2C6F
split-complementary
#9B902C #2C6F9B #592C9B
monochromatic
#3C3711 #6B641E #9B902C #C8BA3C #D5CB6C

Accessibility & contrast

On white

3.27
#9B902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9B902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B902C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B902C#FFFFFF#000000##000000
##9B902C1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1C
Deuteranopia (green-blind)
#A19033
Tritanopia (blue-blind)
#A7867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b902c;
/* rgb */ color: rgb(155, 144, 44);
/* oklch */ color: oklch(64.4% 0.118 102.9);
Tailwind
colors: {
  custom: {
    50: '#bcb06c',
    500: '#9b902c',
    950: '#000000',
  },
}
SCSS
$custom: #9b902c;
$custom-light: #bcb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b902c",
  "rgb": {
    "r": 155,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 54.054,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64446,
    "c": 0.11838,
    "h": 102.9
  },
  "luminance": 0.27097
}

Semantic roles & 50–950 ramp

primary
#9B902C
secondary
#676FBC
accent
#58DF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B902C

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

Preview Lab → · Contrast checker → · Palette generator →

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