#9CA323#9CA323

#9CA323 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.142 H 112.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9CA323
RGBrgb(156, 163, 35)
HSLhsl(63, 65%, 39%)
HSVhsv(63, 79%, 64%)
CMYKcmyk(4.3%, 0%, 78.5%, 36.1%)
CIE-LABlab(64.47, -17.72, 60.16)
CIE-LCHlch(64.47, 62.71, 106.41°)
OKLaboklab(68.77% -0.0553 0.1313)
OKLCHoklch(68.77% 0.142 112.8)
XYZxyz(27.1118, 33.3843, 6.6054)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA323 #2A23A3
analogous
#A36A23 #9CA323 #5CA323
triadic
#9CA323 #239CA3 #A3239C
tetradic
#9CA323 #23A36A #2A23A3 #A3235C
square
#9CA323 #23A36A #2A23A3 #A3235C
split-complementary
#9CA323 #235CA3 #6A23A3
monochromatic
#3C3E0D #6C7118 #9CA323 #CAD331 #D7DD63

Accessibility & contrast

On white

2.74
#9CA323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9CA323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA323
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA323#FFFFFF#000000##000000
##9CA3231.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#A7998B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca323;
/* rgb */ color: rgb(156, 163, 35);
/* oklch */ color: oklch(68.8% 0.142 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe6a',
    500: '#9ca323',
    950: '#000000',
  },
}
SCSS
$custom: #9ca323;
$custom-light: #bdbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca323",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 35
  },
  "hsl": {
    "h": 63.281,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68765,
    "c": 0.14242,
    "h": 112.8
  },
  "luminance": 0.33384
}

Semantic roles & 50–950 ramp

primary
#9CA323
secondary
#655FC3
accent
#40E849
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA323

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

Preview Lab → · Contrast checker → · Palette generator →

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