#9CAB2E#9CAB2E

#9CAB2E is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.7% C 0.145 H 116.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#9CAB2E
RGBrgb(156, 171, 46)
HSLhsl(67, 58%, 43%)
HSVhsv(67, 73%, 67%)
CMYKcmyk(8.8%, 0%, 73.1%, 32.9%)
CIE-LABlab(66.82, -21.27, 58.70)
CIE-LCHlch(66.82, 62.43, 109.92°)
OKLaboklab(70.67% -0.0642 0.1301)
OKLCHoklch(70.67% 0.145 116.2)
XYZxyz(28.7671, 36.3914, 8.0931)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB2E #3D2EAB
analogous
#AB7C2E #9CAB2E #5DAB2E
triadic
#9CAB2E #2E9CAB #AB2E9C
tetradic
#9CAB2E #2EAB7C #3D2EAB #AB2E5D
square
#9CAB2E #2EAB7C #3D2EAB #AB2E5D
split-complementary
#9CAB2E #2E5DAB #7C2EAB
monochromatic
#444B14 #707B21 #9CAB2E #BECE48 #CFDB79

Accessibility & contrast

On white

2.54
#9CAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#9CAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB2E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB2E#FFFFFF#000000##000000
##9CAB2E1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#A6A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cab2e;
/* rgb */ color: rgb(156, 171, 46);
/* oklch */ color: oklch(70.7% 0.145 116.2);
Tailwind
colors: {
  custom: {
    50: '#bcc370',
    500: '#9cab2e',
    950: '#000000',
  },
}
SCSS
$custom: #9cab2e;
$custom-light: #bcc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab2e",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 67.2,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70666,
    "c": 0.14509,
    "h": 116.2
  },
  "luminance": 0.36391
}

Semantic roles & 50–950 ramp

primary
#9CAB2E
secondary
#7C72C3
accent
#47E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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