#8A8239#8A8239

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

Color values

HEX#8A8239
RGBrgb(138, 130, 57)
HSLhsl(54, 42%, 38%)
HSVhsv(54, 59%, 54%)
CMYKcmyk(0%, 5.8%, 58.7%, 45.9%)
CIE-LABlab(53.67, -6.91, 39.85)
CIE-LCHlch(53.67, 40.44, 99.84°)
OKLaboklab(59.82% -0.0215 0.0925)
OKLCHoklch(59.82% 0.095 103.1)
XYZxyz(19.2030, 21.6646, 7.0403)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8239 #39418A
analogous
#8A5939 #8A8239 #698A39
triadic
#8A8239 #398A82 #82398A
tetradic
#8A8239 #398A59 #39418A #8A3969
square
#8A8239 #398A59 #39418A #8A3969
split-complementary
#8A8239 #39698A #59398A
monochromatic
#333015 #5F5927 #8A8239 #B5AA4B #C7BF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8239#FFFFFF#000000##000000
##8A82391.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)
#8D7E32
Deuteranopia (green-blind)
#8F823D
Tritanopia (blue-blind)
#947A72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8239;
/* rgb */ color: rgb(138, 130, 57);
/* oklch */ color: oklch(59.8% 0.095 103.1);
Tailwind
colors: {
  custom: {
    50: '#aea672',
    500: '#8a8239',
    950: '#000000',
  },
}
SCSS
$custom: #8a8239;
$custom-light: #aea672;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8239",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 54.074,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.09491,
    "h": 103.1
  },
  "luminance": 0.21664
}

Semantic roles & 50–950 ramp

primary
#8A8239
secondary
#6F75B0
accent
#63D156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8239

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

Preview Lab → · Contrast checker → · Palette generator →

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