#9A902A#9A902A

#9A902A is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.3% C 0.120 H 103.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9A902A
RGBrgb(154, 144, 42)
HSLhsl(55, 57%, 38%)
HSVhsv(55, 73%, 60%)
CMYKcmyk(0%, 6.5%, 72.7%, 39.6%)
CIE-LABlab(58.96, -8.31, 52.51)
CIE-LCHlch(58.96, 53.16, 99.00°)
OKLaboklab(64.34% -0.0282 0.1164)
OKLCHoklch(64.34% 0.12 103.6)
XYZxyz(23.7186, 26.9847, 6.1492)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A902A #2A349A
analogous
#9A582A #9A902A #6C9A2A
triadic
#9A902A #2A9A90 #902A9A
tetradic
#9A902A #2A9A58 #2A349A #9A2A6C
square
#9A902A #2A9A58 #2A349A #9A2A6C
split-complementary
#9A902A #2A6C9A #582A9A
monochromatic
#3A3610 #6A631D #9A902A #C9BC38 #D6CC68

Accessibility & contrast

On white

3.28
#9A902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#9A902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A902A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A902A#FFFFFF#000000##000000
##9A902A1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#A6867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a902a;
/* rgb */ color: rgb(154, 144, 42);
/* oklch */ color: oklch(64.3% 0.120 103.6);
Tailwind
colors: {
  custom: {
    50: '#bbb06b',
    500: '#9a902a',
    950: '#000000',
  },
}
SCSS
$custom: #9a902a;
$custom-light: #bbb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a902a",
  "rgb": {
    "r": 154,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 54.643,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64336,
    "c": 0.11978,
    "h": 103.6
  },
  "luminance": 0.26984
}

Semantic roles & 50–950 ramp

primary
#9A902A
secondary
#636BBC
accent
#55E047
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A902A

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

Preview Lab → · Contrast checker → · Palette generator →

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