#9C902E#9C902E

#9C902E is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.6% C 0.117 H 102.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9C902E
RGBrgb(156, 144, 46)
HSLhsl(53, 54%, 40%)
HSVhsv(53, 71%, 61%)
CMYKcmyk(0%, 7.7%, 70.5%, 38.8%)
CIE-LABlab(59.17, -7.20, 51.19)
CIE-LCHlch(59.17, 51.69, 98.01°)
OKLaboklab(64.56% -0.0248 0.1143)
OKLCHoklch(64.56% 0.117 102.2)
XYZxyz(24.1777, 27.2127, 6.5633)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C902E #2E3A9C
analogous
#9C592E #9C902E #719C2E
triadic
#9C902E #2E9C90 #902E9C
tetradic
#9C902E #2E9C59 #2E3A9C #9C2E71
square
#9C902E #2E9C59 #2E3A9C #9C2E71
split-complementary
#9C902E #2E719C #592E9C
monochromatic
#3D3912 #6D6420 #9C902E #C7B840 #D5CA70

Accessibility & contrast

On white

3.26
#9C902E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9C902E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C902E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C902E#FFFFFF#000000##000000
##9C902E1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1F
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#A8867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c902e;
/* rgb */ color: rgb(156, 144, 46);
/* oklch */ color: oklch(64.6% 0.117 102.2);
Tailwind
colors: {
  custom: {
    50: '#bcb06d',
    500: '#9c902e',
    950: '#000000',
  },
}
SCSS
$custom: #9c902e;
$custom-light: #bcb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c902e",
  "rgb": {
    "r": 156,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 53.455,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64556,
    "c": 0.11693,
    "h": 102.2
  },
  "luminance": 0.27212
}

Semantic roles & 50–950 ramp

primary
#9C902E
secondary
#6A73BC
accent
#5ADE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C902E

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

Preview Lab → · Contrast checker → · Palette generator →

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