#8A9325#8A9325

#8A9325 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.6% C 0.129 H 114.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A9325
RGBrgb(138, 147, 37)
HSLhsl(65, 60%, 36%)
HSVhsv(65, 75%, 58%)
CMYKcmyk(6.1%, 0%, 74.8%, 42.4%)
CIE-LABlab(58.42, -17.31, 53.37)
CIE-LCHlch(58.42, 56.11, 107.97°)
OKLaboklab(63.56% -0.053 0.1179)
OKLCHoklch(63.56% 0.129 114.2)
XYZxyz(21.2495, 26.4047, 5.7271)
Luminance0.2640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9325 #2E2593
analogous
#936525 #8A9325 #539325
triadic
#8A9325 #258A93 #93258A
tetradic
#8A9325 #259365 #2E2593 #932553
square
#8A9325 #259365 #2E2593 #932553
split-complementary
#8A9325 #255393 #652593
monochromatic
#2E310C #5C6219 #8A9325 #B8C431 #CCD65C

Accessibility & contrast

On white

3.34
#8A9325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8A9325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9325
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9325#FFFFFF#000000##000000
##8A93251.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0E
Deuteranopia (green-blind)
#9E8D2E
Tritanopia (blue-blind)
#938A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9325;
/* rgb */ color: rgb(138, 147, 37);
/* oklch */ color: oklch(63.6% 0.129 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb268',
    500: '#8a9325',
    950: '#000000',
  },
}
SCSS
$custom: #8a9325;
$custom-light: #afb268;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9325",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 37
  },
  "hsl": {
    "h": 64.909,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63561,
    "c": 0.12924,
    "h": 114.2
  },
  "luminance": 0.26404
}

Semantic roles & 50–950 ramp

primary
#8A9325
secondary
#6159BB
accent
#45E352
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9325

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

Preview Lab → · Contrast checker → · Palette generator →

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