#99A522#99A522

#99A522 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.146 H 115.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#99A522
RGBrgb(153, 165, 34)
HSLhsl(65, 66%, 39%)
HSVhsv(65, 79%, 65%)
CMYKcmyk(7.3%, 0%, 79.4%, 35.3%)
CIE-LABlab(64.80, -20.08, 60.67)
CIE-LCHlch(64.80, 63.91, 108.32°)
OKLaboklab(68.97% -0.0617 0.1323)
OKLCHoklch(68.97% 0.146 115)
XYZxyz(26.8815, 33.7985, 6.6208)
Luminance0.3380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99A522 #2E22A5
analogous
#A57022 #99A522 #58A522
triadic
#99A522 #2299A5 #A52299
tetradic
#99A522 #22A570 #2E22A5 #A52258
square
#99A522 #22A570 #2E22A5 #A52258
split-complementary
#99A522 #2258A5 #7022A5
monochromatic
#3B400D #6A7218 #99A522 #C5D430 #D3DF63

Accessibility & contrast

On white

2.71
#99A522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#99A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99A522
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99A522#FFFFFF#000000##000000
##99A5221.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B19E2F
Tritanopia (blue-blind)
#A39B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #99a522;
/* rgb */ color: rgb(153, 165, 34);
/* oklch */ color: oklch(69.0% 0.146 115.0);
Tailwind
colors: {
  custom: {
    50: '#bbbf69',
    500: '#99a522',
    950: '#000000',
  },
}
SCSS
$custom: #99a522;
$custom-light: #bbbf69;
$custom-dark: #000000;
JSON
{
  "hex": "#99a522",
  "rgb": {
    "r": 153,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 65.496,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6897,
    "c": 0.14597,
    "h": 115
  },
  "luminance": 0.33798
}

Semantic roles & 50–950 ramp

primary
#99A522
secondary
#685FC4
accent
#3FE94F
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #99A522

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

Preview Lab → · Contrast checker → · Palette generator →

#99A522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva