#9CA225#9CA225

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

Color values

HEX#9CA225
RGBrgb(156, 162, 37)
HSLhsl(63, 63%, 39%)
HSVhsv(63, 77%, 64%)
CMYKcmyk(3.7%, 0%, 77.2%, 36.5%)
CIE-LABlab(64.20, -17.13, 59.28)
CIE-LCHlch(64.20, 61.70, 106.11°)
OKLaboklab(68.55% -0.0535 0.1298)
OKLCHoklch(68.55% 0.14 112.4)
XYZxyz(26.9655, 33.0428, 6.7073)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA225 #2B25A2
analogous
#A26A25 #9CA225 #5EA225
triadic
#9CA225 #259CA2 #A2259C
tetradic
#9CA225 #25A26A #2B25A2 #A2255E
square
#9CA225 #25A26A #2B25A2 #A2255E
split-complementary
#9CA225 #255EA2 #6A25A2
monochromatic
#3C3E0E #6C701A #9CA225 #C9D134 #D6DC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA225#FFFFFF#000000##000000
##9CA2251.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)
#AF9A03
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca225;
/* rgb */ color: rgb(156, 162, 37);
/* oklch */ color: oklch(68.5% 0.140 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd6a',
    500: '#9ca225',
    950: '#000000',
  },
}
SCSS
$custom: #9ca225;
$custom-light: #bdbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca225",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 62.88,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68547,
    "c": 0.14034,
    "h": 112.4
  },
  "luminance": 0.33042
}

Semantic roles & 50–950 ramp

primary
#9CA225
secondary
#6661C2
accent
#42E64A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA225

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

Preview Lab → · Contrast checker → · Palette generator →

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