#9CA52E#9CA52E

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

Color values

HEX#9CA52E
RGBrgb(156, 165, 46)
HSLhsl(65, 56%, 41%)
HSVhsv(65, 72%, 65%)
CMYKcmyk(5.5%, 0%, 72.1%, 35.3%)
CIE-LABlab(65.10, -18.24, 57.04)
CIE-LCHlch(65.10, 59.88, 107.73°)
OKLaboklab(69.29% -0.0558 0.1266)
OKLCHoklch(69.29% 0.138 113.8)
XYZxyz(27.6594, 34.1760, 7.7238)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA52E #372EA5
analogous
#A5732E #9CA52E #61A52E
triadic
#9CA52E #2E9CA5 #A52E9C
tetradic
#9CA52E #2EA573 #372EA5 #A52E61
square
#9CA52E #2EA573 #372EA5 #A52E61
split-complementary
#9CA52E #2E61A5 #732EA5
monochromatic
#424513 #6F7521 #9CA52E #C1CB45 #D1D875

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA52E#FFFFFF#000000##000000
##9CA52E1.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)
#B19D18
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#A69B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca52e;
/* rgb */ color: rgb(156, 165, 46);
/* oklch */ color: oklch(69.3% 0.138 113.8);
Tailwind
colors: {
  custom: {
    50: '#bcbf6f',
    500: '#9ca52e',
    950: '#000000',
  },
}
SCSS
$custom: #9ca52e;
$custom-light: #bcbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca52e",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 64.538,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6929,
    "c": 0.13836,
    "h": 113.8
  },
  "luminance": 0.34175
}

Semantic roles & 50–950 ramp

primary
#9CA52E
secondary
#756FC0
accent
#48E054
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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