#9CA231#9CA231

#9CA231 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.133 H 112.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9CA231
RGBrgb(156, 162, 49)
HSLhsl(63, 54%, 41%)
HSVhsv(63, 70%, 64%)
CMYKcmyk(3.7%, 0%, 69.8%, 36.5%)
CIE-LABlab(64.27, -16.54, 55.09)
CIE-LCHlch(64.27, 57.52, 106.71°)
OKLaboklab(68.63% -0.0507 0.123)
OKLCHoklch(68.63% 0.133 112.4)
XYZxyz(27.1858, 33.1310, 7.8680)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA231 #3731A2
analogous
#A27031 #9CA231 #64A231
triadic
#9CA231 #319CA2 #A2319C
tetradic
#9CA231 #31A270 #3731A2 #A23164
square
#9CA231 #31A270 #3731A2 #A23164
split-complementary
#9CA231 #3164A2 #7031A2
monochromatic
#424415 #6F7323 #9CA231 #C1C848 #D1D677

Accessibility & contrast

On white

2.75
#9CA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#9CA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA231
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA231#FFFFFF#000000##000000
##9CA2311.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#A7988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca231;
/* rgb */ color: rgb(156, 162, 49);
/* oklch */ color: oklch(68.6% 0.133 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd70',
    500: '#9ca231',
    950: '#000000',
  },
}
SCSS
$custom: #9ca231;
$custom-light: #bcbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca231",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 63.186,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68627,
    "c": 0.13309,
    "h": 112.4
  },
  "luminance": 0.3313
}

Semantic roles & 50–950 ramp

primary
#9CA231
secondary
#7571BE
accent
#4BDD53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA231

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

Preview Lab → · Contrast checker → · Palette generator →

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