#8A8626#8A8626

#8A8626 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.115 H 107.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A8626
RGBrgb(138, 134, 38)
HSLhsl(58, 57%, 35%)
HSVhsv(58, 72%, 54%)
CMYKcmyk(0%, 2.9%, 72.5%, 45.9%)
CIE-LABlab(54.65, -10.36, 49.37)
CIE-LCHlch(54.65, 50.44, 101.85°)
OKLaboklab(60.55% -0.0335 0.1096)
OKLCHoklch(60.55% 0.115 107)
XYZxyz(19.3569, 22.5941, 5.1748)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8626 #262A8A
analogous
#8A5426 #8A8626 #5C8A26
triadic
#8A8626 #268A86 #86268A
tetradic
#8A8626 #268A54 #262A8A #8A265C
square
#8A8626 #268A54 #262A8A #8A265C
split-complementary
#8A8626 #265C8A #54268A
monochromatic
#2A290C #5A5719 #8A8626 #BAB533 #D1CD59

Accessibility & contrast

On white

3.81
#8A8626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A8626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8626
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8626#FFFFFF#000000##000000
##8A86261.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#94842D
Tritanopia (blue-blind)
#947D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8626;
/* rgb */ color: rgb(138, 134, 38);
/* oklch */ color: oklch(60.6% 0.115 107.0);
Tailwind
colors: {
  custom: {
    50: '#afa967',
    500: '#8a8626',
    950: '#000000',
  },
}
SCSS
$custom: #8a8626;
$custom-light: #afa967;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8626",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 57.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60551,
    "c": 0.11461,
    "h": 107
  },
  "luminance": 0.22593
}

Semantic roles & 50–950 ramp

primary
#8A8626
secondary
#565AB6
accent
#4EE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8626

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

Preview Lab → · Contrast checker → · Palette generator →

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