#9CA022#9CA022

#9CA022 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.1% C 0.140 H 111.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9CA022
RGBrgb(156, 160, 34)
HSLhsl(62, 65%, 38%)
HSVhsv(62, 79%, 63%)
CMYKcmyk(2.5%, 0%, 78.8%, 37.3%)
CIE-LABlab(63.61, -16.22, 59.69)
CIE-LCHlch(63.61, 61.85, 105.20°)
OKLaboklab(68.08% -0.0512 0.1301)
OKLCHoklch(68.08% 0.14 111.5)
XYZxyz(26.5708, 32.3257, 6.3529)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA022 #2622A0
analogous
#A06522 #9CA022 #5DA022
triadic
#9CA022 #229CA0 #A0229C
tetradic
#9CA022 #22A065 #2622A0 #A0225D
square
#9CA022 #22A065 #2622A0 #A0225D
split-complementary
#9CA022 #225DA0 #6522A0
monochromatic
#3A3B0D #6B6E17 #9CA022 #CDD22D #D9DD5F

Accessibility & contrast

On white

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

On black

7.46
#9CA022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA022
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA022#FFFFFF#000000##000000
##9CA0221.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#A79689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca022;
/* rgb */ color: rgb(156, 160, 34);
/* oklch */ color: oklch(68.1% 0.140 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb69',
    500: '#9ca022',
    950: '#000000',
  },
}
SCSS
$custom: #9ca022;
$custom-light: #bdbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca022",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 61.905,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68075,
    "c": 0.13978,
    "h": 111.5
  },
  "luminance": 0.32325
}

Semantic roles & 50–950 ramp

primary
#9CA022
secondary
#5F5CC2
accent
#40E845
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9CA022

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

Preview Lab → · Contrast checker → · Palette generator →

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