#8B9823#8B9823

#8B9823 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.8% C 0.136 H 116.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8B9823
RGBrgb(139, 152, 35)
HSLhsl(67, 63%, 37%)
HSVhsv(67, 77%, 60%)
CMYKcmyk(8.6%, 0%, 77%, 40.4%)
CIE-LABlab(59.95, -19.54, 55.53)
CIE-LCHlch(59.95, 58.86, 109.39°)
OKLaboklab(64.81% -0.0594 0.122)
OKLCHoklch(64.81% 0.136 116)
XYZxyz(22.1797, 28.0671, 5.8389)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9823 #302398
analogous
#986B23 #8B9823 #519823
triadic
#8B9823 #238B98 #98238B
tetradic
#8B9823 #23986B #302398 #982351
square
#8B9823 #23986B #302398 #982351
split-complementary
#8B9823 #235198 #6B2398
monochromatic
#30350C #5E6618 #8B9823 #B8CA2E #CCD95C

Accessibility & contrast

On white

3.18
#8B9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8B9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9823
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9823#FFFFFF#000000##000000
##8B98231.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39005
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#948F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9823;
/* rgb */ color: rgb(139, 152, 35);
/* oklch */ color: oklch(64.8% 0.136 116.0);
Tailwind
colors: {
  custom: {
    50: '#b0b668',
    500: '#8b9823',
    950: '#000000',
  },
}
SCSS
$custom: #8b9823;
$custom-light: #b0b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9823",
  "rgb": {
    "r": 139,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 66.667,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64805,
    "c": 0.13573,
    "h": 116
  },
  "luminance": 0.28067
}

Semantic roles & 50–950 ramp

primary
#8B9823
secondary
#6459BE
accent
#42E654
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9823

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

Preview Lab → · Contrast checker → · Palette generator →

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