#8A8734#8A8734

#8A8734 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.105 H 107.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A8734
RGBrgb(138, 135, 52)
HSLhsl(58, 45%, 37%)
HSVhsv(58, 62%, 54%)
CMYKcmyk(0%, 2.2%, 62.3%, 45.9%)
CIE-LABlab(55.05, -10.03, 43.77)
CIE-LCHlch(55.05, 44.90, 102.90°)
OKLaboklab(60.91% -0.031 0.1001)
OKLCHoklch(60.91% 0.105 107.2)
XYZxyz(19.7657, 22.9798, 6.6425)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8734 #34378A
analogous
#8A5C34 #8A8734 #628A34
triadic
#8A8734 #348A87 #87348A
tetradic
#8A8734 #348A5C #34378A #8A3462
square
#8A8734 #348A5C #34378A #8A3462
split-complementary
#8A8734 #34628A #5C348A
monochromatic
#313013 #5E5C23 #8A8734 #B6B245 #C9C66F

Accessibility & contrast

On white

3.75
#8A8734 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A8734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8734
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8734#FFFFFF#000000##000000
##8A87341.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822A
Deuteranopia (green-blind)
#948539
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8734;
/* rgb */ color: rgb(138, 135, 52);
/* oklch */ color: oklch(60.9% 0.105 107.2);
Tailwind
colors: {
  custom: {
    50: '#afa96f',
    500: '#8a8734',
    950: '#000000',
  },
}
SCSS
$custom: #8a8734;
$custom-light: #afa96f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8734",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 52
  },
  "hsl": {
    "h": 57.907,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.10481,
    "h": 107.2
  },
  "luminance": 0.22979
}

Semantic roles & 50–950 ramp

primary
#8A8734
secondary
#696BB1
accent
#57D553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8734

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

Preview Lab → · Contrast checker → · Palette generator →

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