#9CA226#9CA226

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

Color values

HEX#9CA226
RGBrgb(156, 162, 38)
HSLhsl(63, 62%, 39%)
HSVhsv(63, 77%, 64%)
CMYKcmyk(3.7%, 0%, 76.5%, 36.5%)
CIE-LABlab(64.20, -17.08, 58.96)
CIE-LCHlch(64.20, 61.39, 106.16°)
OKLaboklab(68.55% -0.0533 0.1293)
OKLCHoklch(68.55% 0.14 112.4)
XYZxyz(26.9814, 33.0492, 6.7912)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA226 #2C26A2
analogous
#A26A26 #9CA226 #5EA226
triadic
#9CA226 #269CA2 #A2269C
tetradic
#9CA226 #26A26A #2C26A2 #A2265E
square
#9CA226 #26A26A #2C26A2 #A2265E
split-complementary
#9CA226 #265EA2 #6A26A2
monochromatic
#3D3F0F #6C701A #9CA226 #C8D035 #D6DB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA226#FFFFFF#000000##000000
##9CA2261.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)
#AF9A06
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca226;
/* rgb */ color: rgb(156, 162, 38);
/* oklch */ color: oklch(68.6% 0.140 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd6b',
    500: '#9ca226',
    950: '#000000',
  },
}
SCSS
$custom: #9ca226;
$custom-light: #bdbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca226",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 62.903,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68553,
    "c": 0.13981,
    "h": 112.4
  },
  "luminance": 0.33049
}

Semantic roles & 50–950 ramp

primary
#9CA226
secondary
#6763C1
accent
#43E54B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA226

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

Preview Lab → · Contrast checker → · Palette generator →

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