#9CA021#9CA021

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

Color values

HEX#9CA021
RGBrgb(156, 160, 33)
HSLhsl(62, 66%, 38%)
HSVhsv(62, 79%, 63%)
CMYKcmyk(2.5%, 0%, 79.4%, 37.3%)
CIE-LABlab(63.61, -16.26, 59.99)
CIE-LCHlch(63.61, 62.15, 105.16°)
OKLaboklab(68.07% -0.0514 0.1305)
OKLCHoklch(68.07% 0.14 111.5)
XYZxyz(26.5566, 32.3200, 6.2780)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA021 #2521A0
analogous
#A06521 #9CA021 #5CA021
triadic
#9CA021 #219CA0 #A0219C
tetradic
#9CA021 #21A065 #2521A0 #A0215C
square
#9CA021 #21A065 #2521A0 #A0215C
split-complementary
#9CA021 #215CA0 #6521A0
monochromatic
#393B0C #6B6D17 #9CA021 #CDD32B #DADE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9ca021;
/* rgb */ color: rgb(156, 160, 33);
/* oklch */ color: oklch(68.1% 0.140 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb68',
    500: '#9ca021',
    950: '#000000',
  },
}
SCSS
$custom: #9ca021;
$custom-light: #bdbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca021",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 61.89,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68069,
    "c": 0.14027,
    "h": 111.5
  },
  "luminance": 0.32319
}

Semantic roles & 50–950 ramp

primary
#9CA021
secondary
#5E5BC2
accent
#3FE944
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9CA021

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

Preview Lab → · Contrast checker → · Palette generator →

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