#9CA120#9CA120

#9CA120 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.142 H 111.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9CA120
RGBrgb(156, 161, 32)
HSLhsl(62, 67%, 38%)
HSVhsv(62, 80%, 63%)
CMYKcmyk(3.1%, 0%, 80.1%, 36.9%)
CIE-LABlab(63.89, -16.81, 60.53)
CIE-LCHlch(63.89, 62.82, 105.52°)
OKLaboklab(68.29% -0.053 0.1315)
OKLCHoklch(68.29% 0.142 111.9)
XYZxyz(26.7168, 32.6626, 6.2634)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA120 #2520A1
analogous
#A16620 #9CA120 #5BA120
triadic
#9CA120 #209CA1 #A1209C
tetradic
#9CA120 #20A166 #2520A1 #A1205B
square
#9CA120 #20A166 #2520A1 #A1205B
split-complementary
#9CA120 #205BA1 #6620A1
monochromatic
#393B0C #6B6E16 #9CA120 #CDD42A #DADF5D

Accessibility & contrast

On white

2.79
#9CA120 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9CA120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA120
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA120#FFFFFF#000000##000000
##9CA1201.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C2C
Tritanopia (blue-blind)
#A7978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca120;
/* rgb */ color: rgb(156, 161, 32);
/* oklch */ color: oklch(68.3% 0.142 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbc68',
    500: '#9ca120',
    950: '#000000',
  },
}
SCSS
$custom: #9ca120;
$custom-light: #bdbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca120",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 62.326,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.14178,
    "h": 111.9
  },
  "luminance": 0.32662
}

Semantic roles & 50–950 ramp

primary
#9CA120
secondary
#5E5AC3
accent
#3EEA45
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA120

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

Preview Lab → · Contrast checker → · Palette generator →

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