#9CA730#9CA730

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

Color values

HEX#9CA730
RGBrgb(156, 167, 48)
HSLhsl(66, 55%, 42%)
HSVhsv(66, 71%, 65%)
CMYKcmyk(6.6%, 0%, 71.3%, 34.5%)
CIE-LABlab(65.69, -19.15, 56.87)
CIE-LCHlch(65.69, 60.01, 108.61°)
OKLaboklab(69.76% -0.0581 0.1266)
OKLCHoklch(69.76% 0.139 114.6)
XYZxyz(28.0633, 34.9193, 8.0575)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA730 #3B30A7
analogous
#A77630 #9CA730 #61A730
triadic
#9CA730 #309CA7 #A7309C
tetradic
#9CA730 #30A776 #3B30A7 #A73061
square
#9CA730 #30A776 #3B30A7 #A73061
split-complementary
#9CA730 #3061A7 #7630A7
monochromatic
#434815 #707722 #9CA730 #BFCB49 #D0D879

Accessibility & contrast

On white

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

On black

7.98
#9CA730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA730
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA730#FFFFFF#000000##000000
##9CA7301.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1B
Deuteranopia (green-blind)
#B2A139
Tritanopia (blue-blind)
#A69D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca730;
/* rgb */ color: rgb(156, 167, 48);
/* oklch */ color: oklch(69.8% 0.139 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc170',
    500: '#9ca730',
    950: '#000000',
  },
}
SCSS
$custom: #9ca730;
$custom-light: #bcc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca730",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 65.546,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69762,
    "c": 0.13931,
    "h": 114.6
  },
  "luminance": 0.34919
}

Semantic roles & 50–950 ramp

primary
#9CA730
secondary
#7972C1
accent
#49DF57
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA730

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

Preview Lab → · Contrast checker → · Palette generator →

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