#9CA428#9CA428

#9CA428 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.141 H 113.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9CA428
RGBrgb(156, 164, 40)
HSLhsl(64, 61%, 40%)
HSVhsv(64, 76%, 64%)
CMYKcmyk(4.9%, 0%, 75.6%, 35.7%)
CIE-LABlab(64.78, -18.02, 58.84)
CIE-LCHlch(64.78, 61.54, 107.03°)
OKLaboklab(69.02% -0.0557 0.1294)
OKLCHoklch(69.02% 0.141 113.3)
XYZxyz(27.3696, 33.7726, 7.0841)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA428 #3028A4
analogous
#A46E28 #9CA428 #5EA428
triadic
#9CA428 #289CA4 #A4289C
tetradic
#9CA428 #28A46E #3028A4 #A4285E
square
#9CA428 #28A46E #3028A4 #A4285E
split-complementary
#9CA428 #285EA4 #6E28A4
monochromatic
#3E4210 #6D731C #9CA428 #C5CF3A #D4DB6B

Accessibility & contrast

On white

2.71
#9CA428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#9CA428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA428
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA428#FFFFFF#000000##000000
##9CA4281.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0A
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#A79A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca428;
/* rgb */ color: rgb(156, 164, 40);
/* oklch */ color: oklch(69.0% 0.141 113.3);
Tailwind
colors: {
  custom: {
    50: '#bdbe6c',
    500: '#9ca428',
    950: '#000000',
  },
}
SCSS
$custom: #9ca428;
$custom-light: #bdbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca428",
  "rgb": {
    "r": 156,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 63.871,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.69022,
    "c": 0.14084,
    "h": 113.3
  },
  "luminance": 0.33772
}

Semantic roles & 50–950 ramp

primary
#9CA428
secondary
#6C66C1
accent
#44E44E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA428

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

Preview Lab → · Contrast checker → · Palette generator →

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