#9DA522#9DA522

#9DA522 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.145 H 113.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9DA522
RGBrgb(157, 165, 34)
HSLhsl(64, 66%, 39%)
HSVhsv(64, 79%, 65%)
CMYKcmyk(4.8%, 0%, 79.4%, 35.3%)
CIE-LABlab(65.12, -18.34, 61.07)
CIE-LCHlch(65.12, 63.76, 106.72°)
OKLaboklab(69.3% -0.0571 0.133)
OKLCHoklch(69.3% 0.145 113.3)
XYZxyz(27.6494, 34.1945, 6.6567)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA522 #2A22A5
analogous
#A56C22 #9DA522 #5CA522
triadic
#9DA522 #229DA5 #A5229D
tetradic
#9DA522 #22A56C #2A22A5 #A5225C
square
#9DA522 #22A56C #2A22A5 #A5225C
split-complementary
#9DA522 #225CA5 #6C22A5
monochromatic
#3C400D #6D7218 #9DA522 #CAD430 #D7DF63

Accessibility & contrast

On white

2.68
#9DA522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9DA522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA522
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA522#FFFFFF#000000##000000
##9DA5221.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B29F2E
Tritanopia (blue-blind)
#A89B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9da522;
/* rgb */ color: rgb(157, 165, 34);
/* oklch */ color: oklch(69.3% 0.145 113.3);
Tailwind
colors: {
  custom: {
    50: '#bebf6a',
    500: '#9da522',
    950: '#000000',
  },
}
SCSS
$custom: #9da522;
$custom-light: #bebf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da522",
  "rgb": {
    "r": 157,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 63.664,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.693,
    "c": 0.14473,
    "h": 113.3
  },
  "luminance": 0.34194
}

Semantic roles & 50–950 ramp

primary
#9DA522
secondary
#655FC4
accent
#3FE949
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA522

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

Preview Lab → · Contrast checker → · Palette generator →

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