#9CA527#9CA527

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

Color values

HEX#9CA527
RGBrgb(156, 165, 39)
HSLhsl(64, 62%, 40%)
HSVhsv(64, 76%, 65%)
CMYKcmyk(5.5%, 0%, 76.4%, 35.3%)
CIE-LABlab(65.06, -18.57, 59.43)
CIE-LCHlch(65.06, 62.27, 107.36°)
OKLaboklab(69.25% -0.0573 0.1304)
OKLCHoklch(69.25% 0.142 113.7)
XYZxyz(27.5325, 34.1252, 7.0555)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA527 #3027A5
analogous
#A56F27 #9CA527 #5DA527
triadic
#9CA527 #279CA5 #A5279C
tetradic
#9CA527 #27A56F #3027A5 #A5275D
square
#9CA527 #27A56F #3027A5 #A5275D
split-complementary
#9CA527 #275DA5 #6F27A5
monochromatic
#3E4210 #6D741B #9CA527 #C5D039 #D4DC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA527#FFFFFF#000000##000000
##9CA5271.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)
#B29D06
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca527;
/* rgb */ color: rgb(156, 165, 39);
/* oklch */ color: oklch(69.2% 0.142 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdbf6c',
    500: '#9ca527',
    950: '#000000',
  },
}
SCSS
$custom: #9ca527;
$custom-light: #bdbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca527",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 64.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.69245,
    "c": 0.14247,
    "h": 113.7
  },
  "luminance": 0.34125
}

Semantic roles & 50–950 ramp

primary
#9CA527
secondary
#6C66C2
accent
#43E54F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA527

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

Preview Lab → · Contrast checker → · Palette generator →

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