#9C8229#9C8229

#9C8229 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.5% C 0.110 H 92.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9C8229
RGBrgb(156, 130, 41)
HSLhsl(46, 58%, 39%)
HSVhsv(46, 74%, 61%)
CMYKcmyk(0%, 16.7%, 73.7%, 38.8%)
CIE-LABlab(55.27, 0.23, 49.35)
CIE-LCHlch(55.27, 49.35, 89.74°)
OKLaboklab(61.46% -0.0042 0.1095)
OKLCHoklch(61.46% 0.11 92.2)
XYZxyz(22.0944, 23.1946, 5.4107)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8229 #29439C
analogous
#9C4829 #9C8229 #7C9C29
triadic
#9C8229 #299C82 #82299C
tetradic
#9C8229 #299C48 #29439C #9C297C
square
#9C8229 #299C48 #29439C #9C297C
split-complementary
#9C8229 #297C9C #48299C
monochromatic
#3B3110 #6C5A1C #9C8229 #CBA938 #D7BE68

Accessibility & contrast

On white

3.72
#9C8229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#9C8229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8229
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8229#FFFFFF#000000##000000
##9C82291.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801C
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#A97770
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8229;
/* rgb */ color: rgb(156, 130, 41);
/* oklch */ color: oklch(61.5% 0.110 92.2);
Tailwind
colors: {
  custom: {
    50: '#bda669',
    500: '#9c8229',
    950: '#000000',
  },
}
SCSS
$custom: #9c8229;
$custom-light: #bda669;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8229",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 46.435,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61457,
    "c": 0.10954,
    "h": 92.2
  },
  "luminance": 0.23193
}

Semantic roles & 50–950 ramp

primary
#9C8229
secondary
#6378BE
accent
#69E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9C8229

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

Preview Lab → · Contrast checker → · Palette generator →

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