#8A9623#8A9623

#8A9623 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.3% C 0.134 H 115.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A9623
RGBrgb(138, 150, 35)
HSLhsl(66, 62%, 36%)
HSVhsv(66, 77%, 59%)
CMYKcmyk(8%, 0%, 76.7%, 41.2%)
CIE-LABlab(59.29, -18.95, 54.88)
CIE-LCHlch(59.29, 58.06, 109.05°)
OKLaboklab(64.25% -0.0577 0.1207)
OKLCHoklch(64.25% 0.134 115.6)
XYZxyz(21.6916, 27.3377, 5.7238)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9623 #2F2396
analogous
#966923 #8A9623 #519623
triadic
#8A9623 #238A96 #96238A
tetradic
#8A9623 #239669 #2F2396 #962351
square
#8A9623 #239669 #2F2396 #962351
split-complementary
#8A9623 #235196 #692396
monochromatic
#2F330C #5C6417 #8A9623 #B8C82F #CCD95B

Accessibility & contrast

On white

3.25
#8A9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8A9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9623
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9623#FFFFFF#000000##000000
##8A96231.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E07
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#938D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9623;
/* rgb */ color: rgb(138, 150, 35);
/* oklch */ color: oklch(64.3% 0.134 115.6);
Tailwind
colors: {
  custom: {
    50: '#afb468',
    500: '#8a9623',
    950: '#000000',
  },
}
SCSS
$custom: #8a9623;
$custom-light: #afb468;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9623",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 66.261,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.1338,
    "h": 115.6
  },
  "luminance": 0.27337
}

Semantic roles & 50–950 ramp

primary
#8A9623
secondary
#6258BD
accent
#43E554
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9623

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

Preview Lab → · Contrast checker → · Palette generator →

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