#9CAB30#9CAB30

#9CAB30 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.7% C 0.144 H 116.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#9CAB30
RGBrgb(156, 171, 48)
HSLhsl(67, 56%, 43%)
HSVhsv(67, 72%, 67%)
CMYKcmyk(8.8%, 0%, 71.9%, 32.9%)
CIE-LABlab(66.83, -21.17, 57.99)
CIE-LCHlch(66.83, 61.73, 110.05°)
OKLaboklab(70.68% -0.0637 0.129)
OKLCHoklch(70.68% 0.144 116.3)
XYZxyz(28.8074, 36.4075, 8.3055)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB30 #3F30AB
analogous
#AB7C30 #9CAB30 #5EAB30
triadic
#9CAB30 #309CAB #AB309C
tetradic
#9CAB30 #30AB7C #3F30AB #AB305E
square
#9CAB30 #30AB7C #3F30AB #AB305E
split-complementary
#9CAB30 #305EAB #7C30AB
monochromatic
#454B15 #707B23 #9CAB30 #BDCD4C #CEDA7B

Accessibility & contrast

On white

2.54
#9CAB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#9CAB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB30
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB30#FFFFFF#000000##000000
##9CAB301.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#B6A33A
Tritanopia (blue-blind)
#A6A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cab30;
/* rgb */ color: rgb(156, 171, 48);
/* oklch */ color: oklch(70.7% 0.144 116.3);
Tailwind
colors: {
  custom: {
    50: '#bcc371',
    500: '#9cab30',
    950: '#000000',
  },
}
SCSS
$custom: #9cab30;
$custom-light: #bcc371;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab30",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 67.317,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7068,
    "c": 0.14385,
    "h": 116.3
  },
  "luminance": 0.36407
}

Semantic roles & 50–950 ramp

primary
#9CAB30
secondary
#7E74C3
accent
#48DF5B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB30

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

Preview Lab → · Contrast checker → · Palette generator →

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