#9B8024#9B8024

#9B8024 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.9% C 0.111 H 91.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9B8024
RGBrgb(155, 128, 36)
HSLhsl(46, 62%, 37%)
HSVhsv(46, 77%, 61%)
CMYKcmyk(0%, 17.4%, 76.8%, 39.2%)
CIE-LABlab(54.59, 0.65, 50.65)
CIE-LCHlch(54.59, 50.66, 89.27°)
OKLaboklab(60.89% -0.0035 0.1112)
OKLCHoklch(60.89% 0.111 91.8)
XYZxyz(21.5564, 22.5356, 4.8831)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8024 #243F9B
analogous
#9B4524 #9B8024 #7A9B24
triadic
#9B8024 #249B80 #80249B
tetradic
#9B8024 #249B45 #243F9B #9B247A
square
#9B8024 #249B45 #243F9B #9B247A
split-complementary
#9B8024 #247A9B #45249B
monochromatic
#382E0D #695718 #9B8024 #CDA930 #DABE5F

Accessibility & contrast

On white

3.81
#9B8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9B8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8024
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8024#FFFFFF#000000##000000
##9B80241.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b8024;
/* rgb */ color: rgb(155, 128, 36);
/* oklch */ color: oklch(60.9% 0.111 91.8);
Tailwind
colors: {
  custom: {
    50: '#bca466',
    500: '#9b8024',
    950: '#000000',
  },
}
SCSS
$custom: #9b8024;
$custom-light: #bca466;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8024",
  "rgb": {
    "r": 155,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 46.387,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60885,
    "c": 0.11128,
    "h": 91.8
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#9B8024
secondary
#5C72BF
accent
#67E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B8024

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

Preview Lab → · Contrast checker → · Palette generator →

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