#9CA031#9CA031

#9CA031 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.2% C 0.131 H 111.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9CA031
RGBrgb(156, 160, 49)
HSLhsl(62, 53%, 41%)
HSVhsv(62, 69%, 63%)
CMYKcmyk(2.5%, 0%, 69.4%, 37.3%)
CIE-LABlab(63.70, -15.51, 54.52)
CIE-LCHlch(63.70, 56.68, 105.88°)
OKLaboklab(68.17% -0.0478 0.1218)
OKLCHoklch(68.17% 0.131 111.4)
XYZxyz(26.8363, 32.4319, 7.7515)
Luminance0.3243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA031 #3531A0
analogous
#A06C31 #9CA031 #64A031
triadic
#9CA031 #319CA0 #A0319C
tetradic
#9CA031 #31A06C #3531A0 #A03164
square
#9CA031 #31A06C #3531A0 #A03164
split-complementary
#9CA031 #3164A0 #6C31A0
monochromatic
#414214 #6E7123 #9CA031 #C2C747 #D2D576

Accessibility & contrast

On white

2.81
#9CA031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#9CA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA031
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA031#FFFFFF#000000##000000
##9CA0311.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#A7968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca031;
/* rgb */ color: rgb(156, 160, 49);
/* oklch */ color: oklch(68.2% 0.131 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbb70',
    500: '#9ca031',
    950: '#000000',
  },
}
SCSS
$custom: #9ca031;
$custom-light: #bcbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca031",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 62.162,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68172,
    "c": 0.1309,
    "h": 111.4
  },
  "luminance": 0.32431
}

Semantic roles & 50–950 ramp

primary
#9CA031
secondary
#7270BD
accent
#4BDD51
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9CA031

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

Preview Lab → · Contrast checker → · Palette generator →

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