#8A9530#8A9530

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

Color values

HEX#8A9530
RGBrgb(138, 149, 48)
HSLhsl(67, 51%, 39%)
HSVhsv(67, 68%, 58%)
CMYKcmyk(7.4%, 0%, 67.8%, 41.6%)
CIE-LABlab(59.08, -17.72, 49.78)
CIE-LCHlch(59.08, 52.84, 109.60°)
OKLaboklab(64.11% -0.0531 0.1122)
OKLCHoklch(64.11% 0.124 115.3)
XYZxyz(21.7627, 27.1119, 6.8824)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9530 #3B3095
analogous
#956D30 #8A9530 #579530
triadic
#8A9530 #308A95 #95308A
tetradic
#8A9530 #30956D #3B3095 #953057
square
#8A9530 #30956D #3B3095 #953057
split-complementary
#8A9530 #305795 #6D3095
monochromatic
#343812 #5F6721 #8A9530 #B4C241 #C6D16F

Accessibility & contrast

On white

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

On black

6.42
#8A9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9530
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9530#FFFFFF#000000##000000
##8A95301.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D22
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#938C81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9530;
/* rgb */ color: rgb(138, 149, 48);
/* oklch */ color: oklch(64.1% 0.124 115.3);
Tailwind
colors: {
  custom: {
    50: '#afb46e',
    500: '#8a9530',
    950: '#000000',
  },
}
SCSS
$custom: #8a9530;
$custom-light: #afb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9530",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 66.535,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64113,
    "c": 0.12411,
    "h": 115.3
  },
  "luminance": 0.27112
}

Semantic roles & 50–950 ramp

primary
#8A9530
secondary
#7169B8
accent
#4DDB5C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9530

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

Preview Lab → · Contrast checker → · Palette generator →

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