#9CA242#9CA242

#9CA242 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.120 H 112.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9CA242
RGBrgb(156, 162, 66)
HSLhsl(64, 42%, 45%)
HSVhsv(64, 59%, 64%)
CMYKcmyk(3.7%, 0%, 59.3%, 36.5%)
CIE-LABlab(64.41, -15.41, 48.02)
CIE-LCHlch(64.41, 50.43, 107.80°)
OKLaboklab(68.78% -0.0458 0.1107)
OKLCHoklch(68.78% 0.12 112.5)
XYZxyz(27.6147, 33.3025, 10.1265)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA242 #4842A2
analogous
#A27842 #9CA242 #6CA242
triadic
#9CA242 #429CA2 #A2429C
tetradic
#9CA242 #42A278 #4842A2 #A2426C
square
#9CA242 #42A278 #4842A2 #A2426C
split-complementary
#9CA242 #426CA2 #7842A2
monochromatic
#484B1F #727730 #9CA242 #B9BF62 #CDD18E

Accessibility & contrast

On white

2.74
#9CA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9CA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA242
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA242#FFFFFF#000000##000000
##9CA2421.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B37
Deuteranopia (green-blind)
#AE9D48
Tritanopia (blue-blind)
#A6998D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca242;
/* rgb */ color: rgb(156, 162, 66);
/* oklch */ color: oklch(68.8% 0.120 112.5);
Tailwind
colors: {
  custom: {
    50: '#bbbd7a',
    500: '#9ca242',
    950: '#000000',
  },
}
SCSS
$custom: #9ca242;
$custom-light: #bbbd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca242",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 63.75,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68782,
    "c": 0.11975,
    "h": 112.5
  },
  "luminance": 0.33302
}

Semantic roles & 50–950 ramp

primary
#9CA242
secondary
#8784BC
accent
#56D25E
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA242

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

Preview Lab → · Contrast checker → · Palette generator →

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