#9C9028#9C9028

#9C9028 is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.5% C 0.121 H 102.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9C9028
RGBrgb(156, 144, 40)
HSLhsl(54, 59%, 38%)
HSVhsv(54, 74%, 61%)
CMYKcmyk(0%, 7.7%, 74.4%, 38.8%)
CIE-LABlab(59.13, -7.51, 53.50)
CIE-LCHlch(59.13, 54.02, 97.99°)
OKLaboklab(64.51% -0.0263 0.118)
OKLCHoklch(64.51% 0.121 102.6)
XYZxyz(24.0676, 27.1687, 5.9834)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9028 #28349C
analogous
#9C5628 #9C9028 #6E9C28
triadic
#9C9028 #289C90 #90289C
tetradic
#9C9028 #289C56 #28349C #9C286E
square
#9C9028 #289C56 #28349C #9C286E
split-complementary
#9C9028 #286E9C #56289C
monochromatic
#3B360F #6B631C #9C9028 #CBBC36 #D8CC67

Accessibility & contrast

On white

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

On black

6.43
#9C9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9028
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9028#FFFFFF#000000##000000
##9C90281.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c9028;
/* rgb */ color: rgb(156, 144, 40);
/* oklch */ color: oklch(64.5% 0.121 102.6);
Tailwind
colors: {
  custom: {
    50: '#bdb06a',
    500: '#9c9028',
    950: '#000000',
  },
}
SCSS
$custom: #9c9028;
$custom-light: #bdb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9028",
  "rgb": {
    "r": 156,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 53.793,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64511,
    "c": 0.12093,
    "h": 102.6
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

primary
#9C9028
secondary
#626BBE
accent
#56E245
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C9028

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

Preview Lab → · Contrast checker → · Palette generator →

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