#9B902A#9B902A

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

Color values

HEX#9B902A
RGBrgb(155, 144, 42)
HSLhsl(54, 57%, 39%)
HSVhsv(54, 73%, 61%)
CMYKcmyk(0%, 7.1%, 72.9%, 39.2%)
CIE-LABlab(59.05, -7.86, 52.63)
CIE-LCHlch(59.05, 53.21, 98.50°)
OKLaboklab(64.43% -0.027 0.1166)
OKLCHoklch(64.43% 0.12 103)
XYZxyz(23.9098, 27.0832, 6.1582)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B902A #2A359B
analogous
#9B572A #9B902A #6D9B2A
triadic
#9B902A #2A9B90 #902A9B
tetradic
#9B902A #2A9B57 #2A359B #9B2A6D
square
#9B902A #2A9B57 #2A359B #9B2A6D
split-complementary
#9B902A #2A6D9B #572A9B
monochromatic
#3B3710 #6B631D #9B902A #C9BB39 #D6CC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B902A#FFFFFF#000000##000000
##9B902A1.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)
#9D8B19
Deuteranopia (green-blind)
#A19031
Tritanopia (blue-blind)
#A7867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b902a;
/* rgb */ color: rgb(155, 144, 42);
/* oklch */ color: oklch(64.4% 0.120 103.0);
Tailwind
colors: {
  custom: {
    50: '#bcb06b',
    500: '#9b902a',
    950: '#000000',
  },
}
SCSS
$custom: #9b902a;
$custom-light: #bcb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b902a",
  "rgb": {
    "r": 155,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 54.159,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.11972,
    "h": 103
  },
  "luminance": 0.27082
}

Semantic roles & 50–950 ramp

primary
#9B902A
secondary
#646DBD
accent
#56E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B902A

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

Preview Lab → · Contrast checker → · Palette generator →

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