#9CA828#9CA828

#9CA828 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.145 H 115.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9CA828
RGBrgb(156, 168, 40)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 76%, 66%)
CMYKcmyk(7.1%, 0%, 76.2%, 34.1%)
CIE-LABlab(65.92, -20.05, 59.90)
CIE-LCHlch(65.92, 63.17, 108.51°)
OKLaboklab(69.94% -0.0613 0.1316)
OKLCHoklch(69.94% 0.145 115)
XYZxyz(28.0967, 35.2269, 7.3264)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA828 #3428A8
analogous
#A87428 #9CA828 #5CA828
triadic
#9CA828 #289CA8 #A8289C
tetradic
#9CA828 #28A874 #3428A8 #A8285C
square
#9CA828 #28A874 #3428A8 #A8285C
split-complementary
#9CA828 #285CA8 #7428A8
monochromatic
#404510 #6E771C #9CA828 #C3D13D #D2DC6E

Accessibility & contrast

On white

2.61
#9CA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9CA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA828
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA828#FFFFFF#000000##000000
##9CA8281.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F07
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#A69E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca828;
/* rgb */ color: rgb(156, 168, 40);
/* oklch */ color: oklch(69.9% 0.145 115.0);
Tailwind
colors: {
  custom: {
    50: '#bdc16d',
    500: '#9ca828',
    950: '#000000',
  },
}
SCSS
$custom: #9ca828;
$custom-light: #bdc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca828",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 65.625,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69938,
    "c": 0.1452,
    "h": 115
  },
  "luminance": 0.35226
}

Semantic roles & 50–950 ramp

primary
#9CA828
secondary
#7169C3
accent
#43E552
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA828

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

Preview Lab → · Contrast checker → · Palette generator →

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