#9CA223#9CA223

#9CA223 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.141 H 112.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9CA223
RGBrgb(156, 162, 35)
HSLhsl(63, 64%, 39%)
HSVhsv(63, 78%, 64%)
CMYKcmyk(3.7%, 0%, 78.4%, 36.5%)
CIE-LABlab(64.19, -17.21, 59.90)
CIE-LCHlch(64.19, 62.32, 106.03°)
OKLaboklab(68.54% -0.0539 0.1307)
OKLCHoklch(68.54% 0.141 112.4)
XYZxyz(26.9349, 33.0306, 6.5465)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA223 #2923A2
analogous
#A26823 #9CA223 #5CA223
triadic
#9CA223 #239CA2 #A2239C
tetradic
#9CA223 #23A268 #2923A2 #A2235C
square
#9CA223 #23A268 #2923A2 #A2235C
split-complementary
#9CA223 #235CA2 #6823A2
monochromatic
#3B3D0D #6C7018 #9CA223 #CBD230 #D7DD62

Accessibility & contrast

On white

2.76
#9CA223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#9CA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA223
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA223#FFFFFF#000000##000000
##9CA2231.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AF9D2E
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca223;
/* rgb */ color: rgb(156, 162, 35);
/* oklch */ color: oklch(68.5% 0.141 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd6a',
    500: '#9ca223',
    950: '#000000',
  },
}
SCSS
$custom: #9ca223;
$custom-light: #bdbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca223",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 62.835,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68536,
    "c": 0.14136,
    "h": 112.4
  },
  "luminance": 0.3303
}

Semantic roles & 50–950 ramp

primary
#9CA223
secondary
#635EC2
accent
#40E748
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA223

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

Preview Lab → · Contrast checker → · Palette generator →

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