#9DA01C#9DA01C

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

Color values

HEX#9DA01C
RGBrgb(157, 160, 28)
HSLhsl(61, 70%, 37%)
HSVhsv(61, 83%, 63%)
CMYKcmyk(1.9%, 0%, 82.5%, 37.3%)
CIE-LABlab(63.67, -15.99, 61.48)
CIE-LCHlch(63.67, 63.53, 104.58°)
OKLaboklab(68.13% -0.0511 0.1328)
OKLCHoklch(68.13% 0.142 111)
XYZxyz(26.6860, 32.3943, 5.9454)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA01C #1F1CA0
analogous
#A0611C #9DA01C #5BA01C
triadic
#9DA01C #1C9DA0 #A01C9D
tetradic
#9DA01C #1CA061 #1F1CA0 #A01C5B
square
#9DA01C #1CA061 #1F1CA0 #A01C5B
split-complementary
#9DA01C #1C5BA0 #611CA0
monochromatic
#37380A #6A6C13 #9DA01C #D0D425 #DEE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA01C#FFFFFF#000000##000000
##9DA01C1.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)
#AD9800
Deuteranopia (green-blind)
#AE9C29
Tritanopia (blue-blind)
#A99588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9da01c;
/* rgb */ color: rgb(157, 160, 28);
/* oklch */ color: oklch(68.1% 0.142 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebb66',
    500: '#9da01c',
    950: '#000000',
  },
}
SCSS
$custom: #9da01c;
$custom-light: #bebb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9da01c",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 61.364,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.68132,
    "c": 0.14225,
    "h": 111
  },
  "luminance": 0.32394
}

Semantic roles & 50–950 ramp

primary
#9DA01C
secondary
#5653C4
accent
#3BED3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9DA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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