#9CA728#9CA728

#9CA728 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.7% C 0.144 H 114.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9CA728
RGBrgb(156, 167, 40)
HSLhsl(65, 61%, 41%)
HSVhsv(65, 76%, 65%)
CMYKcmyk(6.6%, 0%, 76%, 34.5%)
CIE-LABlab(65.64, -19.54, 59.64)
CIE-LCHlch(65.64, 62.76, 108.15°)
OKLaboklab(69.71% -0.0599 0.1311)
OKLCHoklch(69.71% 0.144 114.6)
XYZxyz(27.9128, 34.8591, 7.2651)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA728 #3328A7
analogous
#A77228 #9CA728 #5CA728
triadic
#9CA728 #289CA7 #A7289C
tetradic
#9CA728 #28A772 #3328A7 #A7285C
square
#9CA728 #28A772 #3328A7 #A7285C
split-complementary
#9CA728 #285CA7 #7228A7
monochromatic
#404410 #6E761C #9CA728 #C3D03C #D3DC6D

Accessibility & contrast

On white

2.63
#9CA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#9CA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA728
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA728#FFFFFF#000000##000000
##9CA7281.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca728;
/* rgb */ color: rgb(156, 167, 40);
/* oklch */ color: oklch(69.7% 0.144 114.6);
Tailwind
colors: {
  custom: {
    50: '#bdc16c',
    500: '#9ca728',
    950: '#000000',
  },
}
SCSS
$custom: #9ca728;
$custom-light: #bdc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca728",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 65.197,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69709,
    "c": 0.1441,
    "h": 114.6
  },
  "luminance": 0.34859
}

Semantic roles & 50–950 ramp

primary
#9CA728
secondary
#7068C3
accent
#43E451
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA728

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

Preview Lab → · Contrast checker → · Palette generator →

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