#8B8023#8B8023

#8B8023 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.111 H 102.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8B8023
RGBrgb(139, 128, 35)
HSLhsl(54, 60%, 34%)
HSVhsv(54, 75%, 55%)
CMYKcmyk(0%, 7.9%, 74.8%, 45.5%)
CIE-LABlab(53.00, -6.77, 48.97)
CIE-LCHlch(53.00, 49.43, 97.88°)
OKLaboklab(59.26% -0.0237 0.1082)
OKLCHoklch(59.26% 0.111 102.4)
XYZxyz(18.6708, 21.0495, 4.6693)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8023 #232E8B
analogous
#8B4C23 #8B8023 #628B23
triadic
#8B8023 #238B80 #80238B
tetradic
#8B8023 #238B4C #232E8B #8B2362
square
#8B8023 #238B4C #232E8B #8B2362
split-complementary
#8B8023 #23628B #4C238B
monochromatic
#29260A #5A5317 #8B8023 #BCAD2F #D4C754

Accessibility & contrast

On white

4.03
#8B8023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8B8023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8023
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8023#FFFFFF#000000##000000
##8B80231.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#96776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b8023;
/* rgb */ color: rgb(139, 128, 35);
/* oklch */ color: oklch(59.3% 0.111 102.4);
Tailwind
colors: {
  custom: {
    50: '#b0a465',
    500: '#8b8023',
    950: '#000000',
  },
}
SCSS
$custom: #8b8023;
$custom-light: #b0a465;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8023",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 53.654,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59255,
    "c": 0.11073,
    "h": 102.4
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#8B8023
secondary
#525DB8
accent
#56E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8023

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

Preview Lab → · Contrast checker → · Palette generator →

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