#9DA820#9DA820

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

Color values

HEX#9DA820
RGBrgb(157, 168, 32)
HSLhsl(65, 68%, 39%)
HSVhsv(65, 81%, 66%)
CMYKcmyk(6.5%, 0%, 81%, 34.1%)
CIE-LABlab(65.96, -19.94, 62.39)
CIE-LCHlch(65.96, 65.50, 107.72°)
OKLaboklab(69.98% -0.0617 0.1354)
OKLCHoklch(69.98% 0.149 114.5)
XYZxyz(28.1688, 35.2782, 6.6917)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA820 #2B20A8
analogous
#A86F20 #9DA820 #59A820
triadic
#9DA820 #209DA8 #A8209D
tetradic
#9DA820 #20A86F #2B20A8 #A82059
square
#9DA820 #20A86F #2B20A8 #A82059
split-complementary
#9DA820 #2059A8 #6F20A8
monochromatic
#3D410C #6D7516 #9DA820 #CAD72E #D7E161

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA820#FFFFFF#000000##000000
##9DA8201.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)
#B4A12E
Tritanopia (blue-blind)
#A89E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da820;
/* rgb */ color: rgb(157, 168, 32);
/* oklch */ color: oklch(70.0% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#bec169',
    500: '#9da820',
    950: '#000000',
  },
}
SCSS
$custom: #9da820;
$custom-light: #bec169;
$custom-dark: #000000;
JSON
{
  "hex": "#9da820",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 64.853,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69978,
    "c": 0.14884,
    "h": 114.5
  },
  "luminance": 0.35278
}

Semantic roles & 50–950 ramp

primary
#9DA820
secondary
#665EC6
accent
#3DEB4B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA820

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

Preview Lab → · Contrast checker → · Palette generator →

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