#9CA938#9CA938

#9CA938 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.136 H 115.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9CA938
RGBrgb(156, 169, 56)
HSLhsl(67, 50%, 44%)
HSVhsv(67, 67%, 66%)
CMYKcmyk(7.7%, 0%, 66.9%, 33.7%)
CIE-LABlab(66.31, -19.70, 54.38)
CIE-LCHlch(66.31, 57.84, 109.91°)
OKLaboklab(70.28% -0.0588 0.1227)
OKLCHoklch(70.28% 0.136 115.6)
XYZxyz(28.6128, 35.7298, 9.1299)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA938 #4538A9
analogous
#A97E38 #9CA938 #64A938
triadic
#9CA938 #389CA9 #A9389C
tetradic
#9CA938 #38A97E #4538A9 #A93864
square
#9CA938 #38A97E #4538A9 #A93864
split-complementary
#9CA938 #3864A9 #7E38A9
monochromatic
#474D1A #727B29 #9CA938 #BAC757 #CDD785

Accessibility & contrast

On white

2.58
#9CA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9CA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA938
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA938#FFFFFF#000000##000000
##9CA9381.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A028
Deuteranopia (green-blind)
#B4A240
Tritanopia (blue-blind)
#A69F92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ca938;
/* rgb */ color: rgb(156, 169, 56);
/* oklch */ color: oklch(70.3% 0.136 115.6);
Tailwind
colors: {
  custom: {
    50: '#bcc275',
    500: '#9ca938',
    950: '#000000',
  },
}
SCSS
$custom: #9ca938;
$custom-light: #bcc275;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca938",
  "rgb": {
    "r": 156,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 66.903,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70282,
    "c": 0.13607,
    "h": 115.6
  },
  "luminance": 0.35729
}

Semantic roles & 50–950 ramp

primary
#9CA938
secondary
#847CC0
accent
#4EDA5E
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA938

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

Preview Lab → · Contrast checker → · Palette generator →

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