#9DA01F#9DA01F

#9DA01F is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.141 H 111.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9DA01F
RGBrgb(157, 160, 31)
HSLhsl(61, 68%, 37%)
HSVhsv(61, 81%, 63%)
CMYKcmyk(1.9%, 0%, 80.6%, 37.3%)
CIE-LABlab(63.68, -15.89, 60.67)
CIE-LCHlch(63.68, 62.71, 104.68°)
OKLaboklab(68.15% -0.0506 0.1316)
OKLCHoklch(68.15% 0.141 111)
XYZxyz(26.7237, 32.4094, 6.1440)
Luminance0.3241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA01F #221FA0
analogous
#A0621F #9DA01F #5DA01F
triadic
#9DA01F #1F9DA0 #A01F9D
tetradic
#9DA01F #1FA062 #221FA0 #A01F5D
square
#9DA01F #1FA062 #221FA0 #A01F5D
split-complementary
#9DA01F #1F5DA0 #621FA0
monochromatic
#38390B #6B6D15 #9DA01F #CFD329 #DCDF5A

Accessibility & contrast

On white

2.81
#9DA01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#9DA01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA01F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA01F#FFFFFF#000000##000000
##9DA01F1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AE9C2B
Tritanopia (blue-blind)
#A89689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9da01f;
/* rgb */ color: rgb(157, 160, 31);
/* oklch */ color: oklch(68.1% 0.141 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebb68',
    500: '#9da01f',
    950: '#000000',
  },
}
SCSS
$custom: #9da01f;
$custom-light: #bebb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9da01f",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 61.395,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.68145,
    "c": 0.14095,
    "h": 111
  },
  "luminance": 0.32409
}

Semantic roles & 50–950 ramp

primary
#9DA01F
secondary
#5A58C3
accent
#3DEA41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9DA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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