#8B8923#8B8923

#8B8923 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.119 H 108.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8B8923
RGBrgb(139, 137, 35)
HSLhsl(59, 60%, 34%)
HSVhsv(59, 75%, 55%)
CMYKcmyk(0%, 1.4%, 74.8%, 45.5%)
CIE-LABlab(55.59, -11.68, 51.43)
CIE-LCHlch(55.59, 52.74, 102.79°)
OKLaboklab(61.31% -0.0375 0.1134)
OKLCHoklch(61.31% 0.119 108.3)
XYZxyz(19.8972, 23.5023, 5.0781)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8923 #23258B
analogous
#8B5523 #8B8923 #598B23
triadic
#8B8923 #238B89 #89238B
tetradic
#8B8923 #238B55 #23258B #8B2359
square
#8B8923 #238B55 #23258B #8B2359
split-complementary
#8B8923 #23598B #55238B
monochromatic
#29290A #5A5917 #8B8923 #BCB92F #D4D254

Accessibility & contrast

On white

3.68
#8B8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8B8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8923
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8923#FFFFFF#000000##000000
##8B89231.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830F
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#958075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b8923;
/* rgb */ color: rgb(139, 137, 35);
/* oklch */ color: oklch(61.3% 0.119 108.3);
Tailwind
colors: {
  custom: {
    50: '#b0ab66',
    500: '#8b8923',
    950: '#000000',
  },
}
SCSS
$custom: #8b8923;
$custom-light: #b0ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8923",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 58.846,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.11942,
    "h": 108.3
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#8B8923
secondary
#5254B8
accent
#48E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8923

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

Preview Lab → · Contrast checker → · Palette generator →

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