#8A8135#8A8135

#8A8135 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.098 H 102.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A8135
RGBrgb(138, 129, 53)
HSLhsl(54, 45%, 37%)
HSVhsv(54, 62%, 54%)
CMYKcmyk(0%, 6.5%, 61.6%, 45.9%)
CIE-LABlab(53.34, -6.67, 41.43)
CIE-LCHlch(53.34, 41.96, 99.14°)
OKLaboklab(59.55% -0.0213 0.0953)
OKLCHoklch(59.55% 0.098 102.6)
XYZxyz(18.9748, 21.3615, 6.4912)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8135 #353E8A
analogous
#8A5635 #8A8135 #698A35
triadic
#8A8135 #358A81 #81358A
tetradic
#8A8135 #358A56 #353E8A #8A3569
square
#8A8135 #358A56 #353E8A #8A3569
split-complementary
#8A8135 #35698A #56358A
monochromatic
#322E13 #5E5824 #8A8135 #B6AA46 #C8BF71

Accessibility & contrast

On white

3.98
#8A8135 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8A8135 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8135
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8135#FFFFFF#000000##000000
##8A81351.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2D
Deuteranopia (green-blind)
#8F8139
Tritanopia (blue-blind)
#947971
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8135;
/* rgb */ color: rgb(138, 129, 53);
/* oklch */ color: oklch(59.5% 0.098 102.6);
Tailwind
colors: {
  custom: {
    50: '#aea56f',
    500: '#8a8135',
    950: '#000000',
  },
}
SCSS
$custom: #8a8135;
$custom-light: #aea56f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8135",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 53
  },
  "hsl": {
    "h": 53.647,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.09765,
    "h": 102.6
  },
  "luminance": 0.21361
}

Semantic roles & 50–950 ramp

primary
#8A8135
secondary
#6A72B1
accent
#61D454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8135

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

Preview Lab → · Contrast checker → · Palette generator →

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