#9CA830#9CA830

#9CA830 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.0% C 0.140 H 115.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9CA830
RGBrgb(156, 168, 48)
HSLhsl(66, 56%, 42%)
HSVhsv(66, 71%, 66%)
CMYKcmyk(7.1%, 0%, 71.4%, 34.1%)
CIE-LABlab(65.97, -19.66, 57.15)
CIE-LCHlch(65.97, 60.44, 108.98°)
OKLaboklab(69.99% -0.0595 0.1272)
OKLCHoklch(69.99% 0.14 115.1)
XYZxyz(28.2472, 35.2871, 8.1188)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA830 #3C30A8
analogous
#A87830 #9CA830 #60A830
triadic
#9CA830 #309CA8 #A8309C
tetradic
#9CA830 #30A878 #3C30A8 #A83060
square
#9CA830 #30A878 #3C30A8 #A83060
split-complementary
#9CA830 #3060A8 #7830A8
monochromatic
#444915 #707822 #9CA830 #BECB4A #CFD97A

Accessibility & contrast

On white

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

On black

8.06
#9CA830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA830
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA830#FFFFFF#000000##000000
##9CA8301.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1B
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#A69E91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca830;
/* rgb */ color: rgb(156, 168, 48);
/* oklch */ color: oklch(70.0% 0.140 115.1);
Tailwind
colors: {
  custom: {
    50: '#bcc170',
    500: '#9ca830',
    950: '#000000',
  },
}
SCSS
$custom: #9ca830;
$custom-light: #bcc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca830",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 66,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69991,
    "c": 0.14044,
    "h": 115.1
  },
  "luminance": 0.35287
}

Semantic roles & 50–950 ramp

primary
#9CA830
secondary
#7A73C1
accent
#49DF58
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA830

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

Preview Lab → · Contrast checker → · Palette generator →

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