#8A8633#8A8633

#8A8633 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.105 H 106.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A8633
RGBrgb(138, 134, 51)
HSLhsl(57, 46%, 37%)
HSVhsv(57, 63%, 54%)
CMYKcmyk(0%, 2.9%, 63%, 45.9%)
CIE-LABlab(54.75, -9.56, 43.91)
CIE-LCHlch(54.75, 44.94, 102.28°)
OKLaboklab(60.67% -0.0297 0.1003)
OKLCHoklch(60.67% 0.105 106.5)
XYZxyz(19.6045, 22.6931, 6.4788)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8633 #33378A
analogous
#8A5A33 #8A8633 #638A33
triadic
#8A8633 #338A86 #86338A
tetradic
#8A8633 #338A5A #33378A #8A3363
square
#8A8633 #338A5A #33378A #8A3363
split-complementary
#8A8633 #33638A #5A338A
monochromatic
#312F12 #5D5B22 #8A8633 #B7B144 #C9C56E

Accessibility & contrast

On white

3.79
#8A8633 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A8633 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8633
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8633#FFFFFF#000000##000000
##8A86331.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918129
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#947E74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8633;
/* rgb */ color: rgb(138, 134, 51);
/* oklch */ color: oklch(60.7% 0.105 106.5);
Tailwind
colors: {
  custom: {
    50: '#afa96f',
    500: '#8a8633',
    950: '#000000',
  },
}
SCSS
$custom: #8a8633;
$custom-light: #afa96f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8633",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 51
  },
  "hsl": {
    "h": 57.241,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.1046,
    "h": 106.5
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#8A8633
secondary
#676BB1
accent
#58D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8633

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

Preview Lab → · Contrast checker → · Palette generator →

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