#8A8230#8A8230

#8A8230 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.103 H 103.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A8230
RGBrgb(138, 130, 48)
HSLhsl(55, 48%, 36%)
HSVhsv(55, 65%, 54%)
CMYKcmyk(0%, 5.8%, 65.2%, 45.9%)
CIE-LABlab(53.58, -7.58, 44.03)
CIE-LCHlch(53.58, 44.67, 99.76°)
OKLaboklab(59.72% -0.0245 0.1001)
OKLCHoklch(59.72% 0.103 103.7)
XYZxyz(18.9981, 21.5826, 5.9609)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8230 #30388A
analogous
#8A5530 #8A8230 #658A30
triadic
#8A8230 #308A82 #82308A
tetradic
#8A8230 #308A55 #30388A #8A3065
square
#8A8230 #308A55 #30388A #8A3065
split-complementary
#8A8230 #30658A #55308A
monochromatic
#2F2C10 #5D5720 #8A8230 #B7AD40 #CBC269

Accessibility & contrast

On white

3.95
#8A8230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A8230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8230
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8230#FFFFFF#000000##000000
##8A82301.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E26
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#947971
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8230;
/* rgb */ color: rgb(138, 130, 48);
/* oklch */ color: oklch(59.7% 0.103 103.7);
Tailwind
colors: {
  custom: {
    50: '#afa66c',
    500: '#8a8230',
    950: '#000000',
  },
}
SCSS
$custom: #8a8230;
$custom-light: #afa66c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8230",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 48
  },
  "hsl": {
    "h": 54.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.10302,
    "h": 103.7
  },
  "luminance": 0.21582
}

Semantic roles & 50–950 ramp

primary
#8A8230
secondary
#646BB2
accent
#5CD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8230

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

Preview Lab → · Contrast checker → · Palette generator →

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