#9CA229#9CA229

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

Color values

HEX#9CA229
RGBrgb(156, 162, 41)
HSLhsl(63, 60%, 40%)
HSVhsv(63, 75%, 64%)
CMYKcmyk(3.7%, 0%, 74.7%, 36.5%)
CIE-LABlab(64.22, -16.95, 57.97)
CIE-LCHlch(64.22, 60.40, 106.30°)
OKLaboklab(68.57% -0.0526 0.1277)
OKLCHoklch(68.57% 0.138 112.4)
XYZxyz(27.0317, 33.0693, 7.0564)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA229 #2F29A2
analogous
#A26B29 #9CA229 #60A229
triadic
#9CA229 #299CA2 #A2299C
tetradic
#9CA229 #29A26B #2F29A2 #A22960
square
#9CA229 #29A26B #2F29A2 #A22960
split-complementary
#9CA229 #2960A2 #6B29A2
monochromatic
#3E4010 #6D711D #9CA229 #C6CD3B #D4DA6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA229#FFFFFF#000000##000000
##9CA2291.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)
#AF9A0F
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca229;
/* rgb */ color: rgb(156, 162, 41);
/* oklch */ color: oklch(68.6% 0.138 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd6c',
    500: '#9ca229',
    950: '#000000',
  },
}
SCSS
$custom: #9ca229;
$custom-light: #bdbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca229",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 62.975,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68571,
    "c": 0.13812,
    "h": 112.4
  },
  "luminance": 0.33069
}

Semantic roles & 50–950 ramp

primary
#9CA229
secondary
#6B67C0
accent
#45E34D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA229

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

Preview Lab → · Contrast checker → · Palette generator →

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