#9A9620#9A9620

#9A9620 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.6% C 0.131 H 107.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9A9620
RGBrgb(154, 150, 32)
HSLhsl(58, 66%, 36%)
HSVhsv(58, 79%, 60%)
CMYKcmyk(0%, 2.6%, 79.2%, 39.6%)
CIE-LABlab(60.59, -11.96, 57.54)
CIE-LCHlch(60.59, 58.77, 101.74°)
OKLaboklab(65.62% -0.0394 0.1252)
OKLCHoklch(65.62% 0.131 107.5)
XYZxyz(24.4945, 28.7879, 5.6326)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9620 #20249A
analogous
#9A5920 #9A9620 #619A20
triadic
#9A9620 #209A96 #96209A
tetradic
#9A9620 #209A59 #20249A #9A2061
square
#9A9620 #209A59 #20249A #9A2061
split-complementary
#9A9620 #20619A #59209A
monochromatic
#35330B #676515 #9A9620 #CDC72B #DCD858

Accessibility & contrast

On white

3.11
#9A9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9A9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9620
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9620#FFFFFF#000000##000000
##9A96201.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#A68C80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a9620;
/* rgb */ color: rgb(154, 150, 32);
/* oklch */ color: oklch(65.6% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#bbb467',
    500: '#9a9620',
    950: '#000000',
  },
}
SCSS
$custom: #9a9620;
$custom-light: #bbb467;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9620",
  "rgb": {
    "r": 154,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 58.033,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6562,
    "c": 0.13123,
    "h": 107.5
  },
  "luminance": 0.28787
}

Semantic roles & 50–950 ramp

primary
#9A9620
secondary
#5659C0
accent
#45E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9A9620

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

Preview Lab → · Contrast checker → · Palette generator →

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