#8A9823#8A9823

#8A9823 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.136 H 116.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A9823
RGBrgb(138, 152, 35)
HSLhsl(67, 63%, 37%)
HSVhsv(67, 77%, 60%)
CMYKcmyk(9.2%, 0%, 77%, 40.4%)
CIE-LABlab(59.87, -19.98, 55.43)
CIE-LCHlch(59.87, 58.92, 109.82°)
OKLaboklab(64.72% -0.0605 0.1219)
OKLCHoklch(64.72% 0.136 116.4)
XYZxyz(22.0134, 27.9814, 5.8311)
Luminance0.2798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9823 #312398
analogous
#986C23 #8A9823 #509823
triadic
#8A9823 #238A98 #98238A
tetradic
#8A9823 #23986C #312398 #982350
square
#8A9823 #23986C #312398 #982350
split-complementary
#8A9823 #235098 #6C2398
monochromatic
#30350C #5D6618 #8A9823 #B7CA2E #CAD95C

Accessibility & contrast

On white

3.18
#8A9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9823
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9823#FFFFFF#000000##000000
##8A98231.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39005
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9823;
/* rgb */ color: rgb(138, 152, 35);
/* oklch */ color: oklch(64.7% 0.136 116.4);
Tailwind
colors: {
  custom: {
    50: '#afb668',
    500: '#8a9823',
    950: '#000000',
  },
}
SCSS
$custom: #8a9823;
$custom-light: #afb668;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9823",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 67.179,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64723,
    "c": 0.13607,
    "h": 116.4
  },
  "luminance": 0.27981
}

Semantic roles & 50–950 ramp

primary
#8A9823
secondary
#6559BE
accent
#42E656
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9823

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

Preview Lab → · Contrast checker → · Palette generator →

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