#9CA020#9CA020

#9CA020 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#9CA020
RGBrgb(156, 160, 32)
HSLhsl(62, 67%, 38%)
HSVhsv(62, 80%, 63%)
CMYKcmyk(2.5%, 0%, 80%, 37.3%)
CIE-LABlab(63.60, -16.29, 60.28)
CIE-LCHlch(63.60, 62.44, 105.13°)
OKLaboklab(68.06% -0.0516 0.131)
OKLCHoklch(68.06% 0.141 111.5)
XYZxyz(26.5428, 32.3145, 6.2054)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA020 #2420A0
analogous
#A06420 #9CA020 #5CA020
triadic
#9CA020 #209CA0 #A0209C
tetradic
#9CA020 #20A064 #2420A0 #A0205C
square
#9CA020 #20A064 #2420A0 #A0205C
split-complementary
#9CA020 #205CA0 #6420A0
monochromatic
#393A0C #6A6D16 #9CA020 #CED32A #DADE5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA020#FFFFFF#000000##000000
##9CA0201.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)
#AE9C2C
Tritanopia (blue-blind)
#A79689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca020;
/* rgb */ color: rgb(156, 160, 32);
/* oklch */ color: oklch(68.1% 0.141 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb68',
    500: '#9ca020',
    950: '#000000',
  },
}
SCSS
$custom: #9ca020;
$custom-light: #bdbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca020",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 61.875,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.68064,
    "c": 0.14075,
    "h": 111.5
  },
  "luminance": 0.32314
}

Semantic roles & 50–950 ramp

primary
#9CA020
secondary
#5C59C3
accent
#3EEA44
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9CA020

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

Preview Lab → · Contrast checker → · Palette generator →

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