#9DA81F#9DA81F

#9DA81F 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.05:1 contrast (WCAG AA passes).

Color values

HEX#9DA81F
RGBrgb(157, 168, 31)
HSLhsl(65, 69%, 39%)
HSVhsv(65, 82%, 66%)
CMYKcmyk(6.5%, 0%, 81.5%, 34.1%)
CIE-LABlab(65.96, -19.97, 62.66)
CIE-LCHlch(65.96, 65.77, 107.68°)
OKLaboklab(69.97% -0.0619 0.1359)
OKLCHoklch(69.97% 0.149 114.5)
XYZxyz(28.1555, 35.2728, 6.6212)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA81F #2A1FA8
analogous
#A86F1F #9DA81F #58A81F
triadic
#9DA81F #1F9DA8 #A81F9D
tetradic
#9DA81F #1FA86F #2A1FA8 #A81F58
square
#9DA81F #1FA86F #2A1FA8 #A81F58
split-complementary
#9DA81F #1F58A8 #6F1FA8
monochromatic
#3C410C #6D7415 #9DA81F #CAD82C #D7E260

Accessibility & contrast

On white

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

On black

8.05
#9DA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA81F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA81F#FFFFFF#000000##000000
##9DA81F1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da81f;
/* rgb */ color: rgb(157, 168, 31);
/* oklch */ color: oklch(70.0% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#bec169',
    500: '#9da81f',
    950: '#000000',
  },
}
SCSS
$custom: #9da81f;
$custom-light: #bec169;
$custom-dark: #000000;
JSON
{
  "hex": "#9da81f",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 64.818,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69973,
    "c": 0.14927,
    "h": 114.5
  },
  "luminance": 0.35272
}

Semantic roles & 50–950 ramp

primary
#9DA81F
secondary
#655DC6
accent
#3CEC4A
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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