#9DA822#9DA822

#9DA822 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.0% C 0.148 H 114.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9DA822
RGBrgb(157, 168, 34)
HSLhsl(65, 66%, 40%)
HSVhsv(65, 80%, 66%)
CMYKcmyk(6.5%, 0%, 79.8%, 34.1%)
CIE-LABlab(65.97, -19.86, 61.83)
CIE-LCHlch(65.97, 64.94, 107.81°)
OKLaboklab(69.99% -0.0613 0.1346)
OKLCHoklch(69.99% 0.148 114.5)
XYZxyz(28.1969, 35.2894, 6.8392)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA822 #2D22A8
analogous
#A87022 #9DA822 #5AA822
triadic
#9DA822 #229DA8 #A8229D
tetradic
#9DA822 #22A870 #2D22A8 #A8225A
square
#9DA822 #22A870 #2D22A8 #A8225A
split-complementary
#9DA822 #225AA8 #7022A8
monochromatic
#3E420D #6D7518 #9DA822 #C8D532 #D6E065

Accessibility & contrast

On white

2.61
#9DA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#9DA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA822
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA822#FFFFFF#000000##000000
##9DA8221.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#A89E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da822;
/* rgb */ color: rgb(157, 168, 34);
/* oklch */ color: oklch(70.0% 0.148 114.5);
Tailwind
colors: {
  custom: {
    50: '#bec16a',
    500: '#9da822',
    950: '#000000',
  },
}
SCSS
$custom: #9da822;
$custom-light: #bec16a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da822",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 64.925,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69987,
    "c": 0.14792,
    "h": 114.5
  },
  "luminance": 0.35289
}

Semantic roles & 50–950 ramp

primary
#9DA822
secondary
#6961C5
accent
#3FE94D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA822

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

Preview Lab → · Contrast checker → · Palette generator →

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