#8B9623#8B9623

#8B9623 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.3% C 0.133 H 115.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8B9623
RGBrgb(139, 150, 35)
HSLhsl(66, 62%, 36%)
HSVhsv(66, 77%, 59%)
CMYKcmyk(7.3%, 0%, 76.7%, 41.2%)
CIE-LABlab(59.36, -18.51, 54.98)
CIE-LCHlch(59.36, 58.02, 108.61°)
OKLaboklab(64.33% -0.0566 0.1209)
OKLCHoklch(64.33% 0.133 115.1)
XYZxyz(21.8578, 27.4234, 5.7316)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9623 #2E2396
analogous
#966823 #8B9623 #529623
triadic
#8B9623 #238B96 #96238B
tetradic
#8B9623 #239668 #2E2396 #962352
square
#8B9623 #239668 #2E2396 #962352
split-complementary
#8B9623 #235296 #682396
monochromatic
#2F330C #5D6417 #8B9623 #B9C82F #CDD95B

Accessibility & contrast

On white

3.24
#8B9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8B9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9623
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9623#FFFFFF#000000##000000
##8B96231.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E07
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#948D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8b9623;
/* rgb */ color: rgb(139, 150, 35);
/* oklch */ color: oklch(64.3% 0.133 115.1);
Tailwind
colors: {
  custom: {
    50: '#b0b468',
    500: '#8b9623',
    950: '#000000',
  },
}
SCSS
$custom: #8b9623;
$custom-light: #b0b468;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9623",
  "rgb": {
    "r": 139,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 65.739,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64335,
    "c": 0.13347,
    "h": 115.1
  },
  "luminance": 0.27423
}

Semantic roles & 50–950 ramp

primary
#8B9623
secondary
#6158BD
accent
#43E552
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9623

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

Preview Lab → · Contrast checker → · Palette generator →

#8B9623 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva