#9CA236#9CA236

#9CA236 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.130 H 112.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9CA236
RGBrgb(156, 162, 54)
HSLhsl(63, 50%, 42%)
HSVhsv(63, 67%, 64%)
CMYKcmyk(3.7%, 0%, 66.7%, 36.5%)
CIE-LABlab(64.30, -16.25, 53.13)
CIE-LCHlch(64.30, 55.56, 107.00°)
OKLaboklab(68.67% -0.0494 0.1197)
OKLCHoklch(68.67% 0.13 112.4)
XYZxyz(27.2973, 33.1755, 8.4549)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA236 #3C36A2
analogous
#A27236 #9CA236 #66A236
triadic
#9CA236 #369CA2 #A2369C
tetradic
#9CA236 #36A272 #3C36A2 #A23666
square
#9CA236 #36A272 #3C36A2 #A23666
split-complementary
#9CA236 #3666A2 #7236A2
monochromatic
#444617 #707427 #9CA236 #BEC550 #CFD47E

Accessibility & contrast

On white

2.75
#9CA236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#9CA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA236
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA236#FFFFFF#000000##000000
##9CA2361.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B27
Deuteranopia (green-blind)
#AE9D3D
Tritanopia (blue-blind)
#A6988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca236;
/* rgb */ color: rgb(156, 162, 54);
/* oklch */ color: oklch(68.7% 0.130 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd73',
    500: '#9ca236',
    950: '#000000',
  },
}
SCSS
$custom: #9ca236;
$custom-light: #bcbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca236",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 63.333,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68667,
    "c": 0.12953,
    "h": 112.4
  },
  "luminance": 0.33175
}

Semantic roles & 50–950 ramp

primary
#9CA236
secondary
#7A77BD
accent
#4EDA56
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA236

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

Preview Lab → · Contrast checker → · Palette generator →

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