#9CA52D#9CA52D

#9CA52D is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.139 H 113.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9CA52D
RGBrgb(156, 165, 45)
HSLhsl(65, 57%, 41%)
HSVhsv(65, 73%, 65%)
CMYKcmyk(5.5%, 0%, 72.7%, 35.3%)
CIE-LABlab(65.10, -18.29, 57.40)
CIE-LCHlch(65.10, 60.24, 107.68°)
OKLaboklab(69.28% -0.056 0.1272)
OKLCHoklch(69.28% 0.139 113.8)
XYZxyz(27.6399, 34.1682, 7.6212)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA52D #362DA5
analogous
#A5722D #9CA52D #60A52D
triadic
#9CA52D #2D9CA5 #A52D9C
tetradic
#9CA52D #2DA572 #362DA5 #A52D60
square
#9CA52D #2DA572 #362DA5 #A52D60
split-complementary
#9CA52D #2D60A5 #722DA5
monochromatic
#414513 #6F7520 #9CA52D #C2CC43 #D1D973

Accessibility & contrast

On white

2.68
#9CA52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9CA52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA52D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA52D#FFFFFF#000000##000000
##9CA52D1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D16
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#A69B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca52d;
/* rgb */ color: rgb(156, 165, 45);
/* oklch */ color: oklch(69.3% 0.139 113.8);
Tailwind
colors: {
  custom: {
    50: '#bcbf6f',
    500: '#9ca52d',
    950: '#000000',
  },
}
SCSS
$custom: #9ca52d;
$custom-light: #bcbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca52d",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 64.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69283,
    "c": 0.13899,
    "h": 113.8
  },
  "luminance": 0.34168
}

Semantic roles & 50–950 ramp

primary
#9CA52D
secondary
#746DC1
accent
#47E053
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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