#9CA525#9CA525

#9CA525 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.144 H 113.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9CA525
RGBrgb(156, 165, 37)
HSLhsl(64, 63%, 40%)
HSVhsv(64, 78%, 65%)
CMYKcmyk(5.5%, 0%, 77.6%, 35.3%)
CIE-LABlab(65.05, -18.66, 60.06)
CIE-LCHlch(65.05, 62.89, 107.26°)
OKLaboklab(69.23% -0.0577 0.1314)
OKLCHoklch(69.23% 0.144 113.7)
XYZxyz(27.5002, 34.1123, 6.8856)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA525 #2E25A5
analogous
#A56E25 #9CA525 #5CA525
triadic
#9CA525 #259CA5 #A5259C
tetradic
#9CA525 #25A56E #2E25A5 #A5255C
square
#9CA525 #25A56E #2E25A5 #A5255C
split-complementary
#9CA525 #255CA5 #6E25A5
monochromatic
#3D410F #6D731A #9CA525 #C7D235 #D5DD67

Accessibility & contrast

On white

2.68
#9CA525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9CA525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA525
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA525#FFFFFF#000000##000000
##9CA5251.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca525;
/* rgb */ color: rgb(156, 165, 37);
/* oklch */ color: oklch(69.2% 0.144 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdbf6b',
    500: '#9ca525',
    950: '#000000',
  },
}
SCSS
$custom: #9ca525;
$custom-light: #bdbf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca525",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 64.219,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69233,
    "c": 0.14353,
    "h": 113.7
  },
  "luminance": 0.34112
}

Semantic roles & 50–950 ramp

primary
#9CA525
secondary
#6A63C3
accent
#41E64D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA525

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

Preview Lab → · Contrast checker → · Palette generator →

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