#8A9534#8A9534

#8A9534 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.121 H 115.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A9534
RGBrgb(138, 149, 52)
HSLhsl(67, 48%, 39%)
HSVhsv(67, 65%, 58%)
CMYKcmyk(7.4%, 0%, 65.1%, 41.6%)
CIE-LABlab(59.11, -17.46, 48.11)
CIE-LCHlch(59.11, 51.18, 109.94°)
OKLaboklab(64.15% -0.0519 0.1093)
OKLCHoklch(64.15% 0.121 115.4)
XYZxyz(21.8490, 27.1464, 7.3369)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9534 #3F3495
analogous
#957034 #8A9534 #5A9534
triadic
#8A9534 #348A95 #95348A
tetradic
#8A9534 #349570 #3F3495 #95345A
square
#8A9534 #349570 #3F3495 #95345A
split-complementary
#8A9534 #345A95 #703495
monochromatic
#363A14 #606824 #8A9534 #B1BF47 #C5CF75

Accessibility & contrast

On white

3.27
#8A9534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8A9534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9534
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9534#FFFFFF#000000##000000
##8A95341.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E27
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9534;
/* rgb */ color: rgb(138, 149, 52);
/* oklch */ color: oklch(64.1% 0.121 115.4);
Tailwind
colors: {
  custom: {
    50: '#afb470',
    500: '#8a9534',
    950: '#000000',
  },
}
SCSS
$custom: #8a9534;
$custom-light: #afb470;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9534",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 52
  },
  "hsl": {
    "h": 66.804,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64149,
    "c": 0.12101,
    "h": 115.4
  },
  "luminance": 0.27146
}

Semantic roles & 50–950 ramp

primary
#8A9534
secondary
#766EB7
accent
#50D85F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9534

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

Preview Lab → · Contrast checker → · Palette generator →

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