#9CA235#9CA235

#9CA235 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#9CA235
RGBrgb(156, 162, 53)
HSLhsl(63, 51%, 42%)
HSVhsv(63, 67%, 64%)
CMYKcmyk(3.7%, 0%, 67.3%, 36.5%)
CIE-LABlab(64.30, -16.31, 53.53)
CIE-LCHlch(64.30, 55.96, 106.94°)
OKLaboklab(68.66% -0.0497 0.1204)
OKLCHoklch(68.66% 0.13 112.4)
XYZxyz(27.2740, 33.1662, 8.3325)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA235 #3B35A2
analogous
#A27235 #9CA235 #65A235
triadic
#9CA235 #359CA2 #A2359C
tetradic
#9CA235 #35A272 #3B35A2 #A23565
square
#9CA235 #35A272 #3B35A2 #A23565
split-complementary
#9CA235 #3565A2 #7235A2
monochromatic
#434617 #707426 #9CA235 #BFC54F #D0D47D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA235#FFFFFF#000000##000000
##9CA2351.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)
#AE9B25
Deuteranopia (green-blind)
#AE9D3D
Tritanopia (blue-blind)
#A6988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca235;
/* rgb */ color: rgb(156, 162, 53);
/* oklch */ color: oklch(68.7% 0.130 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd73',
    500: '#9ca235',
    950: '#000000',
  },
}
SCSS
$custom: #9ca235;
$custom-light: #bcbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca235",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 63.303,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68659,
    "c": 0.13026,
    "h": 112.4
  },
  "luminance": 0.33166
}

Semantic roles & 50–950 ramp

primary
#9CA235
secondary
#7975BD
accent
#4EDA55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA235

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

Preview Lab → · Contrast checker → · Palette generator →

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