#9CA721#9CA721

#9CA721 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.148 H 114.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9CA721
RGBrgb(156, 167, 33)
HSLhsl(65, 67%, 39%)
HSVhsv(65, 80%, 65%)
CMYKcmyk(6.6%, 0%, 80.2%, 34.5%)
CIE-LABlab(65.60, -19.83, 61.76)
CIE-LCHlch(65.60, 64.87, 107.80°)
OKLaboklab(69.67% -0.0613 0.1343)
OKLCHoklch(69.67% 0.148 114.5)
XYZxyz(27.8044, 34.8157, 6.6940)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA721 #2C21A7
analogous
#A76F21 #9CA721 #59A721
triadic
#9CA721 #219CA7 #A7219C
tetradic
#9CA721 #21A76F #2C21A7 #A72159
square
#9CA721 #21A76F #2C21A7 #A72159
split-complementary
#9CA721 #2159A7 #6F21A7
monochromatic
#3D410D #6C7417 #9CA721 #C8D62F #D6E062

Accessibility & contrast

On white

2.64
#9CA721 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9CA721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA721
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA721#FFFFFF#000000##000000
##9CA7211.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B3A02E
Tritanopia (blue-blind)
#A79D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca721;
/* rgb */ color: rgb(156, 167, 33);
/* oklch */ color: oklch(69.7% 0.148 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc169',
    500: '#9ca721',
    950: '#000000',
  },
}
SCSS
$custom: #9ca721;
$custom-light: #bdc169;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca721",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 64.925,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69671,
    "c": 0.14763,
    "h": 114.5
  },
  "luminance": 0.34815
}

Semantic roles & 50–950 ramp

primary
#9CA721
secondary
#675FC5
accent
#3EEA4C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA721

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

Preview Lab → · Contrast checker → · Palette generator →

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