#9DA731#9DA731

#9DA731 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.138 H 114.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9DA731
RGBrgb(157, 167, 49)
HSLhsl(65, 55%, 42%)
HSVhsv(65, 71%, 65%)
CMYKcmyk(6%, 0%, 70.7%, 34.5%)
CIE-LABlab(65.77, -18.67, 56.60)
CIE-LCHlch(65.77, 59.60, 108.25°)
OKLaboklab(69.85% -0.0567 0.1262)
OKLCHoklch(69.85% 0.138 114.2)
XYZxyz(28.2785, 35.0278, 8.1765)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA731 #3B31A7
analogous
#A77631 #9DA731 #62A731
triadic
#9DA731 #319DA7 #A7319D
tetradic
#9DA731 #31A776 #3B31A7 #A73162
square
#9DA731 #31A776 #3B31A7 #A73162
split-complementary
#9DA731 #3162A7 #7631A7
monochromatic
#444815 #717823 #9DA731 #BFCA4B #D0D87A

Accessibility & contrast

On white

2.62
#9DA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9DA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA731
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA731#FFFFFF#000000##000000
##9DA7311.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1D
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#A79D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da731;
/* rgb */ color: rgb(157, 167, 49);
/* oklch */ color: oklch(69.9% 0.138 114.2);
Tailwind
colors: {
  custom: {
    50: '#bdc171',
    500: '#9da731',
    950: '#000000',
  },
}
SCSS
$custom: #9da731;
$custom-light: #bdc171;
$custom-dark: #000000;
JSON
{
  "hex": "#9da731",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 65.085,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69851,
    "c": 0.13836,
    "h": 114.2
  },
  "luminance": 0.35027
}

Semantic roles & 50–950 ramp

primary
#9DA731
secondary
#7A73C1
accent
#4ADE56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA731

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

Preview Lab → · Contrast checker → · Palette generator →

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