#9CA233#9CA233

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

Color values

HEX#9CA233
RGBrgb(156, 162, 51)
HSLhsl(63, 52%, 42%)
HSVhsv(63, 69%, 64%)
CMYKcmyk(3.7%, 0%, 68.5%, 36.5%)
CIE-LABlab(64.28, -16.43, 54.32)
CIE-LCHlch(64.28, 56.75, 106.83°)
OKLaboklab(68.64% -0.0502 0.1218)
OKLCHoklch(68.64% 0.132 112.4)
XYZxyz(27.2290, 33.1482, 8.0952)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA233 #3933A2
analogous
#A27133 #9CA233 #65A233
triadic
#9CA233 #339CA2 #A2339C
tetradic
#9CA233 #33A271 #3933A2 #A23365
square
#9CA233 #33A271 #3933A2 #A23365
split-complementary
#9CA233 #3365A2 #7133A2
monochromatic
#424516 #6F7324 #9CA233 #C0C74C #D0D57A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA233#FFFFFF#000000##000000
##9CA2331.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)
#AE9A22
Deuteranopia (green-blind)
#AE9D3B
Tritanopia (blue-blind)
#A6988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca233;
/* rgb */ color: rgb(156, 162, 51);
/* oklch */ color: oklch(68.6% 0.132 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd71',
    500: '#9ca233',
    950: '#000000',
  },
}
SCSS
$custom: #9ca233;
$custom-light: #bcbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca233",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 63.243,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68643,
    "c": 0.13169,
    "h": 112.4
  },
  "luminance": 0.33148
}

Semantic roles & 50–950 ramp

primary
#9CA233
secondary
#7773BE
accent
#4CDC54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA233

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

Preview Lab → · Contrast checker → · Palette generator →

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