#9CA826#9CA826

#9CA826 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.146 H 115.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9CA826
RGBrgb(156, 168, 38)
HSLhsl(66, 63%, 40%)
HSVhsv(66, 77%, 66%)
CMYKcmyk(7.1%, 0%, 77.4%, 34.1%)
CIE-LABlab(65.91, -20.14, 60.54)
CIE-LCHlch(65.91, 63.80, 108.40°)
OKLaboklab(69.93% -0.0617 0.1326)
OKLCHoklch(69.93% 0.146 115)
XYZxyz(28.0636, 35.2136, 7.1519)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA826 #3226A8
analogous
#A87326 #9CA826 #5BA826
triadic
#9CA826 #269CA8 #A8269C
tetradic
#9CA826 #26A873 #3226A8 #A8265B
square
#9CA826 #26A873 #3226A8 #A8265B
split-complementary
#9CA826 #265BA8 #7326A8
monochromatic
#3F440F #6E761B #9CA826 #C4D239 #D3DE6B

Accessibility & contrast

On white

2.61
#9CA826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9CA826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA826
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA826#FFFFFF#000000##000000
##9CA8261.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F01
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#A79E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca826;
/* rgb */ color: rgb(156, 168, 38);
/* oklch */ color: oklch(69.9% 0.146 115.0);
Tailwind
colors: {
  custom: {
    50: '#bdc16c',
    500: '#9ca826',
    950: '#000000',
  },
}
SCSS
$custom: #9ca826;
$custom-light: #bdc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca826",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 65.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.14626,
    "h": 115
  },
  "luminance": 0.35213
}

Semantic roles & 50–950 ramp

primary
#9CA826
secondary
#6F66C4
accent
#42E651
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA826

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

Preview Lab → · Contrast checker → · Palette generator →

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