#9DA031#9DA031

#9DA031 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.3% C 0.131 H 110.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9DA031
RGBrgb(157, 160, 49)
HSLhsl(62, 53%, 41%)
HSVhsv(62, 69%, 63%)
CMYKcmyk(1.9%, 0%, 69.4%, 37.3%)
CIE-LABlab(63.78, -15.07, 54.63)
CIE-LCHlch(63.78, 56.67, 105.42°)
OKLaboklab(68.26% -0.0467 0.122)
OKLCHoklch(68.26% 0.131 110.9)
XYZxyz(27.0307, 32.5322, 7.7606)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA031 #3431A0
analogous
#A06B31 #9DA031 #65A031
triadic
#9DA031 #319DA0 #A0319D
tetradic
#9DA031 #31A06B #3431A0 #A03165
square
#9DA031 #31A06B #3431A0 #A03165
split-complementary
#9DA031 #3165A0 #6B31A0
monochromatic
#414214 #6F7123 #9DA031 #C3C747 #D3D576

Accessibility & contrast

On white

2.80
#9DA031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#9DA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA031
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA031#FFFFFF#000000##000000
##9DA0311.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#A8968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9da031;
/* rgb */ color: rgb(157, 160, 49);
/* oklch */ color: oklch(68.3% 0.131 110.9);
Tailwind
colors: {
  custom: {
    50: '#bdbb70',
    500: '#9da031',
    950: '#000000',
  },
}
SCSS
$custom: #9da031;
$custom-light: #bdbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#9da031",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 61.622,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68258,
    "c": 0.13066,
    "h": 110.9
  },
  "luminance": 0.32531
}

Semantic roles & 50–950 ramp

primary
#9DA031
secondary
#7270BD
accent
#4BDD4F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9DA031

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

Preview Lab → · Contrast checker → · Palette generator →

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