#9DA831#9DA831

#9DA831 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.139 H 114.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9DA831
RGBrgb(157, 168, 49)
HSLhsl(66, 55%, 43%)
HSVhsv(66, 71%, 66%)
CMYKcmyk(6.5%, 0%, 70.8%, 34.1%)
CIE-LABlab(66.06, -19.17, 56.89)
CIE-LCHlch(66.06, 60.03, 108.63°)
OKLaboklab(70.08% -0.0581 0.1268)
OKLCHoklch(70.08% 0.139 114.6)
XYZxyz(28.4624, 35.3956, 8.2378)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA831 #3C31A8
analogous
#A87731 #9DA831 #62A831
triadic
#9DA831 #319DA8 #A8319D
tetradic
#9DA831 #31A877 #3C31A8 #A83162
square
#9DA831 #31A877 #3C31A8 #A83162
split-complementary
#9DA831 #3162A8 #7731A8
monochromatic
#444915 #717923 #9DA831 #BFCB4C #D0D87B

Accessibility & contrast

On white

2.60
#9DA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9DA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA831
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA831#FFFFFF#000000##000000
##9DA8311.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01D
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#A79E91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da831;
/* rgb */ color: rgb(157, 168, 49);
/* oklch */ color: oklch(70.1% 0.139 114.6);
Tailwind
colors: {
  custom: {
    50: '#bdc171',
    500: '#9da831',
    950: '#000000',
  },
}
SCSS
$custom: #9da831;
$custom-light: #bdc171;
$custom-dark: #000000;
JSON
{
  "hex": "#9da831",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 65.546,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70079,
    "c": 0.13948,
    "h": 114.6
  },
  "luminance": 0.35395
}

Semantic roles & 50–950 ramp

primary
#9DA831
secondary
#7B74C1
accent
#4ADE57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA831

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

Preview Lab → · Contrast checker → · Palette generator →

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