#9C942E#9C942E

#9C942E is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.121 H 104.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9C942E
RGBrgb(156, 148, 46)
HSLhsl(56, 54%, 40%)
HSVhsv(56, 71%, 61%)
CMYKcmyk(0%, 5.1%, 70.5%, 38.8%)
CIE-LABlab(60.29, -9.36, 52.31)
CIE-LCHlch(60.29, 53.14, 100.14°)
OKLaboklab(65.45% -0.0308 0.1166)
OKLCHoklch(65.45% 0.121 104.8)
XYZxyz(24.7943, 28.4459, 6.7688)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C942E #2E369C
analogous
#9C5D2E #9C942E #6D9C2E
triadic
#9C942E #2E9C94 #942E9C
tetradic
#9C942E #2E9C5D #2E369C #9C2E6D
square
#9C942E #2E9C5D #2E369C #9C2E6D
split-complementary
#9C942E #2E6D9C #5D2E9C
monochromatic
#3D3A12 #6D6720 #9C942E #C7BD40 #D5CD70

Accessibility & contrast

On white

3.14
#9C942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9C942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C942E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C942E#FFFFFF#000000##000000
##9C942E1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1E
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#A88A80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9c942e;
/* rgb */ color: rgb(156, 148, 46);
/* oklch */ color: oklch(65.4% 0.121 104.8);
Tailwind
colors: {
  custom: {
    50: '#bcb36d',
    500: '#9c942e',
    950: '#000000',
  },
}
SCSS
$custom: #9c942e;
$custom-light: #bcb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c942e",
  "rgb": {
    "r": 156,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 55.636,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65446,
    "c": 0.12065,
    "h": 104.8
  },
  "luminance": 0.28445
}

Semantic roles & 50–950 ramp

primary
#9C942E
secondary
#6A70BC
accent
#55DE4A
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C942E

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

Preview Lab → · Contrast checker → · Palette generator →

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