#9CAA23#9CAA23

#9CAA23 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.150 H 115.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#9CAA23
RGBrgb(156, 170, 35)
HSLhsl(66, 66%, 40%)
HSVhsv(66, 79%, 67%)
CMYKcmyk(8.2%, 0%, 79.4%, 33.3%)
CIE-LABlab(66.47, -21.26, 61.96)
CIE-LCHlch(66.47, 65.50, 108.94°)
OKLaboklab(70.37% -0.0651 0.1351)
OKLCHoklch(70.37% 0.15 115.7)
XYZxyz(28.3892, 35.9392, 7.0312)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA23 #3123AA
analogous
#AA7423 #9CAA23 #59AA23
triadic
#9CAA23 #239CAA #AA239C
tetradic
#9CAA23 #23AA74 #3123AA #AA2359
square
#9CAA23 #23AA74 #3123AA #AA2359
split-complementary
#9CAA23 #2359AA #7423AA
monochromatic
#3F440E #6D7719 #9CAA23 #C5D535 #D3E068

Accessibility & contrast

On white

2.56
#9CAA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#9CAA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA23
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA23#FFFFFF#000000##000000
##9CAA231.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A330
Tritanopia (blue-blind)
#A6A091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa23;
/* rgb */ color: rgb(156, 170, 35);
/* oklch */ color: oklch(70.4% 0.150 115.7);
Tailwind
colors: {
  custom: {
    50: '#bdc36b',
    500: '#9caa23',
    950: '#000000',
  },
}
SCSS
$custom: #9caa23;
$custom-light: #bdc36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa23",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 66.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70371,
    "c": 0.14994,
    "h": 115.7
  },
  "luminance": 0.35939
}

Semantic roles & 50–950 ramp

primary
#9CAA23
secondary
#6D63C6
accent
#3FE951
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CAA23

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

Preview Lab → · Contrast checker → · Palette generator →

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