#9CA928#9CA928

#9CA928 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.2% C 0.146 H 115.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9CA928
RGBrgb(156, 169, 40)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 76%, 66%)
CMYKcmyk(7.7%, 0%, 76.3%, 33.7%)
CIE-LABlab(66.21, -20.55, 60.17)
CIE-LCHlch(66.21, 63.58, 108.86°)
OKLaboklab(70.17% -0.0627 0.1322)
OKLCHoklch(70.17% 0.146 115.4)
XYZxyz(28.2821, 35.5975, 7.3882)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA928 #3528A9
analogous
#A97528 #9CA928 #5BA928
triadic
#9CA928 #289CA9 #A9289C
tetradic
#9CA928 #28A975 #3528A9 #A9285B
square
#9CA928 #28A975 #3528A9 #A9285B
split-complementary
#9CA928 #285BA9 #7528A9
monochromatic
#414611 #6E781C #9CA928 #C2D13D #D2DD6F

Accessibility & contrast

On white

2.59
#9CA928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9CA928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA928
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA928#FFFFFF#000000##000000
##9CA9281.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A006
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#A69F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ca928;
/* rgb */ color: rgb(156, 169, 40);
/* oklch */ color: oklch(70.2% 0.146 115.4);
Tailwind
colors: {
  custom: {
    50: '#bdc26d',
    500: '#9ca928',
    950: '#000000',
  },
}
SCSS
$custom: #9ca928;
$custom-light: #bdc26d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca928",
  "rgb": {
    "r": 156,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 66.047,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70168,
    "c": 0.1463,
    "h": 115.4
  },
  "luminance": 0.35597
}

Semantic roles & 50–950 ramp

primary
#9CA928
secondary
#7269C4
accent
#43E553
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA928

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

Preview Lab → · Contrast checker → · Palette generator →

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