#9C8024#9C8024

#9C8024 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 61.0% C 0.111 H 91.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9C8024
RGBrgb(156, 128, 36)
HSLhsl(46, 63%, 38%)
HSVhsv(46, 77%, 61%)
CMYKcmyk(0%, 17.9%, 76.9%, 38.8%)
CIE-LABlab(54.69, 1.11, 50.79)
CIE-LCHlch(54.69, 50.80, 88.75°)
OKLaboklab(60.99% -0.0022 0.1115)
OKLCHoklch(60.99% 0.111 91.2)
XYZxyz(21.7492, 22.6350, 4.8922)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8024 #24409C
analogous
#9C4424 #9C8024 #7C9C24
triadic
#9C8024 #249C80 #80249C
tetradic
#9C8024 #249C44 #24409C #9C247C
square
#9C8024 #249C44 #24409C #9C247C
split-complementary
#9C8024 #247C9C #44249C
monochromatic
#392E0D #6A5719 #9C8024 #CEA92F #DABE60

Accessibility & contrast

On white

3.80
#9C8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9C8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8024
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8024#FFFFFF#000000##000000
##9C80241.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#A9756E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c8024;
/* rgb */ color: rgb(156, 128, 36);
/* oklch */ color: oklch(61.0% 0.111 91.2);
Tailwind
colors: {
  custom: {
    50: '#bda466',
    500: '#9c8024',
    950: '#000000',
  },
}
SCSS
$custom: #9c8024;
$custom-light: #bda466;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8024",
  "rgb": {
    "r": 156,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 46,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.11149,
    "h": 91.2
  },
  "luminance": 0.22634
}

Semantic roles & 50–950 ramp

primary
#9C8024
secondary
#5C74BF
accent
#68E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8024

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

Preview Lab → · Contrast checker → · Palette generator →

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