#8A9723#8A9723

#8A9723 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.135 H 116.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A9723
RGBrgb(138, 151, 35)
HSLhsl(67, 62%, 36%)
HSVhsv(67, 77%, 59%)
CMYKcmyk(8.6%, 0%, 76.8%, 40.8%)
CIE-LABlab(59.58, -19.47, 55.15)
CIE-LCHlch(59.58, 58.49, 109.44°)
OKLaboklab(64.49% -0.0591 0.1213)
OKLCHoklch(64.49% 0.135 116)
XYZxyz(21.8518, 27.6582, 5.7772)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9723 #302397
analogous
#976A23 #8A9723 #509723
triadic
#8A9723 #238A97 #97238A
tetradic
#8A9723 #23976A #302397 #972350
square
#8A9723 #23976A #302397 #972350
split-complementary
#8A9723 #235097 #6A2397
monochromatic
#2F340C #5D6517 #8A9723 #B7C92F #CBD95B

Accessibility & contrast

On white

3.22
#8A9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8A9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9723
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9723#FFFFFF#000000##000000
##8A97231.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F06
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#938E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9723;
/* rgb */ color: rgb(138, 151, 35);
/* oklch */ color: oklch(64.5% 0.135 116.0);
Tailwind
colors: {
  custom: {
    50: '#afb568',
    500: '#8a9723',
    950: '#000000',
  },
}
SCSS
$custom: #8a9723;
$custom-light: #afb568;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9723",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 66.724,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64488,
    "c": 0.13493,
    "h": 116
  },
  "luminance": 0.27658
}

Semantic roles & 50–950 ramp

primary
#8A9723
secondary
#6458BE
accent
#42E555
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9723

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

Preview Lab → · Contrast checker → · Palette generator →

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