#9CAA38#9CAA38

#9CAA38 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.137 H 116.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#9CAA38
RGBrgb(156, 170, 56)
HSLhsl(67, 50%, 44%)
HSVhsv(67, 67%, 67%)
CMYKcmyk(8.2%, 0%, 67.1%, 33.3%)
CIE-LABlab(66.60, -20.20, 54.67)
CIE-LCHlch(66.60, 58.29, 110.28°)
OKLaboklab(70.51% -0.0602 0.1233)
OKLCHoklch(70.51% 0.137 116)
XYZxyz(28.7995, 36.1033, 9.1921)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA38 #4638AA
analogous
#AA7F38 #9CAA38 #63AA38
triadic
#9CAA38 #389CAA #AA389C
tetradic
#9CAA38 #38AA7F #4638AA #AA3863
square
#9CAA38 #38AA7F #4638AA #AA3863
split-complementary
#9CAA38 #3863AA #7F38AA
monochromatic
#484E1A #727C29 #9CAA38 #BAC857 #CDD785

Accessibility & contrast

On white

2.55
#9CAA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#9CAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA38
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA38#FFFFFF#000000##000000
##9CAA381.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A128
Deuteranopia (green-blind)
#B4A340
Tritanopia (blue-blind)
#A6A093
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa38;
/* rgb */ color: rgb(156, 170, 56);
/* oklch */ color: oklch(70.5% 0.137 116.0);
Tailwind
colors: {
  custom: {
    50: '#bcc375',
    500: '#9caa38',
    950: '#000000',
  },
}
SCSS
$custom: #9caa38;
$custom-light: #bcc375;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa38",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 67.368,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70512,
    "c": 0.13724,
    "h": 116
  },
  "luminance": 0.36103
}

Semantic roles & 50–950 ramp

primary
#9CAA38
secondary
#857DC1
accent
#4EDA5F
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9CAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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