#9CA526#9CA526

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

Color values

HEX#9CA526
RGBrgb(156, 165, 38)
HSLhsl(64, 63%, 40%)
HSVhsv(64, 77%, 65%)
CMYKcmyk(5.5%, 0%, 77%, 35.3%)
CIE-LABlab(65.06, -18.62, 59.75)
CIE-LCHlch(65.06, 62.58, 107.31°)
OKLaboklab(69.24% -0.0575 0.1309)
OKLCHoklch(69.24% 0.143 113.7)
XYZxyz(27.5161, 34.1187, 6.9694)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA526 #2F26A5
analogous
#A56F26 #9CA526 #5DA526
triadic
#9CA526 #269CA5 #A5269C
tetradic
#9CA526 #26A56F #2F26A5 #A5265D
square
#9CA526 #26A56F #2F26A5 #A5265D
split-complementary
#9CA526 #265DA5 #6F26A5
monochromatic
#3E420F #6D731B #9CA526 #C6D137 #D4DC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA526#FFFFFF#000000##000000
##9CA5261.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)
#B29D03
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca526;
/* rgb */ color: rgb(156, 165, 38);
/* oklch */ color: oklch(69.2% 0.143 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdbf6b',
    500: '#9ca526',
    950: '#000000',
  },
}
SCSS
$custom: #9ca526;
$custom-light: #bdbf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca526",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 64.252,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69239,
    "c": 0.14301,
    "h": 113.7
  },
  "luminance": 0.34118
}

Semantic roles & 50–950 ramp

primary
#9CA526
secondary
#6B64C3
accent
#42E64E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA526

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

Preview Lab → · Contrast checker → · Palette generator →

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