#8A8236#8A8236

#8A8236 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.098 H 103.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A8236
RGBrgb(138, 130, 54)
HSLhsl(54, 44%, 38%)
HSVhsv(54, 61%, 54%)
CMYKcmyk(0%, 5.8%, 60.9%, 45.9%)
CIE-LABlab(53.64, -7.14, 41.27)
CIE-LCHlch(53.64, 41.89, 99.82°)
OKLaboklab(59.79% -0.0225 0.0951)
OKLCHoklch(59.79% 0.098 103.3)
XYZxyz(19.1304, 21.6356, 6.6577)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8236 #363E8A
analogous
#8A5836 #8A8236 #688A36
triadic
#8A8236 #368A82 #82368A
tetradic
#8A8236 #368A58 #363E8A #8A3668
square
#8A8236 #368A58 #363E8A #8A3668
split-complementary
#8A8236 #36688A #58368A
monochromatic
#322F14 #5E5925 #8A8236 #B6AB47 #C8C072

Accessibility & contrast

On white

3.94
#8A8236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8A8236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8236
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8236#FFFFFF#000000##000000
##8A82361.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2E
Deuteranopia (green-blind)
#90823A
Tritanopia (blue-blind)
#947A72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8236;
/* rgb */ color: rgb(138, 130, 54);
/* oklch */ color: oklch(59.8% 0.098 103.3);
Tailwind
colors: {
  custom: {
    50: '#aea670',
    500: '#8a8236',
    950: '#000000',
  },
}
SCSS
$custom: #8a8236;
$custom-light: #aea670;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8236",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 54.286,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.09774,
    "h": 103.3
  },
  "luminance": 0.21635
}

Semantic roles & 50–950 ramp

primary
#8A8236
secondary
#6B72B1
accent
#60D354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8236

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

Preview Lab → · Contrast checker → · Palette generator →

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