#9DB522#9DB522

#9DB522 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.0% C 0.162 H 119.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#9DB522
RGBrgb(157, 181, 34)
HSLhsl(70, 68%, 42%)
HSVhsv(70, 81%, 71%)
CMYKcmyk(13.3%, 0%, 81.2%, 29%)
CIE-LABlab(69.70, -26.29, 65.13)
CIE-LCHlch(69.70, 70.24, 111.98°)
OKLaboklab(72.99% -0.079 0.1417)
OKLCHoklch(72.99% 0.162 119.2)
XYZxyz(30.7179, 40.3315, 7.6796)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB522 #3A22B5
analogous
#B58422 #9DB522 #54B522
triadic
#9DB522 #229DB5 #B5229D
tetradic
#9DB522 #22B584 #3A22B5 #B52254
square
#9DB522 #22B584 #3A22B5 #B52254
split-complementary
#9DB522 #2254B5 #8422B5
monochromatic
#444E0F #708118 #9DB522 #C0DA3A #D0E46E

Accessibility & contrast

On white

2.32
#9DB522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#9DB522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB522
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB522#FFFFFF#000000##000000
##9DB5221.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#A7AB9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9db522;
/* rgb */ color: rgb(157, 181, 34);
/* oklch */ color: oklch(73.0% 0.162 119.2);
Tailwind
colors: {
  custom: {
    50: '#becb6c',
    500: '#9db522',
    950: '#000000',
  },
}
SCSS
$custom: #9db522;
$custom-light: #becb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9db522",
  "rgb": {
    "r": 157,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 69.796,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72988,
    "c": 0.1622,
    "h": 119.2
  },
  "luminance": 0.40331
}

Semantic roles & 50–950 ramp

primary
#9DB522
secondary
#7969CA
accent
#3DEB59
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9DB522

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

Preview Lab → · Contrast checker → · Palette generator →

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