#9CA042#9CA042

#9CA042 is a light, moderate yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.117 H 111.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9CA042
RGBrgb(156, 160, 66)
HSLhsl(63, 42%, 44%)
HSVhsv(63, 59%, 63%)
CMYKcmyk(2.5%, 0%, 58.8%, 37.3%)
CIE-LABlab(63.84, -14.38, 47.39)
CIE-LCHlch(63.84, 49.52, 106.88°)
OKLaboklab(68.33% -0.0428 0.1093)
OKLCHoklch(68.33% 0.117 111.4)
XYZxyz(27.2652, 32.6035, 10.0100)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA042 #4642A0
analogous
#A07542 #9CA042 #6DA042
triadic
#9CA042 #429CA0 #A0429C
tetradic
#9CA042 #42A075 #4642A0 #A0426D
square
#9CA042 #42A075 #4642A0 #A0426D
split-complementary
#9CA042 #426DA0 #7542A0
monochromatic
#48491E #727530 #9CA042 #BABE61 #CDD08D

Accessibility & contrast

On white

2.79
#9CA042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9CA042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA042
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA042#FFFFFF#000000##000000
##9CA0421.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9938
Deuteranopia (green-blind)
#AC9C48
Tritanopia (blue-blind)
#A6978C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca042;
/* rgb */ color: rgb(156, 160, 66);
/* oklch */ color: oklch(68.3% 0.117 111.4);
Tailwind
colors: {
  custom: {
    50: '#bbbb7a',
    500: '#9ca042',
    950: '#000000',
  },
}
SCSS
$custom: #9ca042;
$custom-light: #bbbb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca042",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 62.553,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68329,
    "c": 0.11741,
    "h": 111.4
  },
  "luminance": 0.32603
}

Semantic roles & 50–950 ramp

primary
#9CA042
secondary
#8583BB
accent
#56D15C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #9CA042

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

Preview Lab → · Contrast checker → · Palette generator →

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