#9CA82B#9CA82B

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

Color values

HEX#9CA82B
RGBrgb(156, 168, 43)
HSLhsl(66, 59%, 41%)
HSVhsv(66, 74%, 66%)
CMYKcmyk(7.1%, 0%, 74.4%, 34.1%)
CIE-LABlab(65.94, -19.91, 58.91)
CIE-LCHlch(65.94, 62.18, 108.67°)
OKLaboklab(69.96% -0.0607 0.1301)
OKLCHoklch(69.96% 0.144 115)
XYZxyz(28.1498, 35.2481, 7.6057)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA82B #372BA8
analogous
#A8762B #9CA82B #5EA82B
triadic
#9CA82B #2B9CA8 #A82B9C
tetradic
#9CA82B #2BA876 #372BA8 #A82B5E
square
#9CA82B #2BA876 #372BA8 #A82B5E
split-complementary
#9CA82B #2B5EA8 #762BA8
monochromatic
#424712 #6F771F #9CA82B #C1CF42 #D1DB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA82B#FFFFFF#000000##000000
##9CA82B1.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)
#B49F10
Deuteranopia (green-blind)
#B4A136
Tritanopia (blue-blind)
#A69E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca82b;
/* rgb */ color: rgb(156, 168, 43);
/* oklch */ color: oklch(70.0% 0.144 115.0);
Tailwind
colors: {
  custom: {
    50: '#bdc16e',
    500: '#9ca82b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca82b;
$custom-light: #bdc16e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca82b",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 65.76,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69957,
    "c": 0.14351,
    "h": 115
  },
  "luminance": 0.35248
}

Semantic roles & 50–950 ramp

primary
#9CA82B
secondary
#756CC2
accent
#45E254
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA82B

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

Preview Lab → · Contrast checker → · Palette generator →

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