#9CA01F#9CA01F

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

Color values

HEX#9CA01F
RGBrgb(156, 160, 31)
HSLhsl(62, 68%, 37%)
HSVhsv(62, 81%, 63%)
CMYKcmyk(2.5%, 0%, 80.6%, 37.3%)
CIE-LABlab(63.60, -16.33, 60.56)
CIE-LCHlch(63.60, 62.73, 105.09°)
OKLaboklab(68.06% -0.0517 0.1314)
OKLCHoklch(68.06% 0.141 111.5)
XYZxyz(26.5294, 32.3092, 6.1349)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA01F #231FA0
analogous
#A0631F #9CA01F #5CA01F
triadic
#9CA01F #1F9CA0 #A01F9C
tetradic
#9CA01F #1FA063 #231FA0 #A01F5C
square
#9CA01F #1FA063 #231FA0 #A01F5C
split-complementary
#9CA01F #1F5CA0 #631FA0
monochromatic
#38390B #6A6D15 #9CA01F #CED329 #DBDF5A

Accessibility & contrast

On white

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

On black

7.46
#9CA01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA01F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA01F#FFFFFF#000000##000000
##9CA01F1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca01f;
/* rgb */ color: rgb(156, 160, 31);
/* oklch */ color: oklch(68.1% 0.141 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb68',
    500: '#9ca01f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca01f;
$custom-light: #bdbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca01f",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 61.86,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.68059,
    "c": 0.14121,
    "h": 111.5
  },
  "luminance": 0.32308
}

Semantic roles & 50–950 ramp

primary
#9CA01F
secondary
#5B58C3
accent
#3DEA43
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9CA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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