#9C8226#9C8226

#9C8226 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.111 H 92.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9C8226
RGBrgb(156, 130, 38)
HSLhsl(47, 61%, 38%)
HSVhsv(47, 76%, 61%)
CMYKcmyk(0%, 16.7%, 75.6%, 38.8%)
CIE-LABlab(55.25, 0.08, 50.54)
CIE-LCHlch(55.25, 50.54, 89.91°)
OKLaboklab(61.43% -0.0049 0.1114)
OKLCHoklch(61.43% 0.111 92.5)
XYZxyz(22.0440, 23.1744, 5.1454)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8226 #26409C
analogous
#9C4726 #9C8226 #7B9C26
triadic
#9C8226 #269C82 #82269C
tetradic
#9C8226 #269C47 #26409C #9C267B
square
#9C8226 #269C47 #26409C #9C267B
split-complementary
#9C8226 #267B9C #47269C
monochromatic
#3A300E #6B591A #9C8226 #CDAB32 #D9BF63

Accessibility & contrast

On white

3.73
#9C8226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9C8226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8226
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8226#FFFFFF#000000##000000
##9C82261.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918017
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#A97770
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8226;
/* rgb */ color: rgb(156, 130, 38);
/* oklch */ color: oklch(61.4% 0.111 92.5);
Tailwind
colors: {
  custom: {
    50: '#bda667',
    500: '#9c8226',
    950: '#000000',
  },
}
SCSS
$custom: #9c8226;
$custom-light: #bda667;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8226",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 46.78,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61434,
    "c": 0.11148,
    "h": 92.5
  },
  "luminance": 0.23173
}

Semantic roles & 50–950 ramp

primary
#9C8226
secondary
#5F74BF
accent
#67E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8226

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

Preview Lab → · Contrast checker → · Palette generator →

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