#8A9923#8A9923

#8A9923 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.137 H 116.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A9923
RGBrgb(138, 153, 35)
HSLhsl(68, 63%, 37%)
HSVhsv(68, 77%, 60%)
CMYKcmyk(9.8%, 0%, 77.1%, 40%)
CIE-LABlab(60.17, -20.49, 55.70)
CIE-LCHlch(60.17, 59.35, 110.19°)
OKLaboklab(64.96% -0.062 0.1224)
OKLCHoklch(64.96% 0.137 116.8)
XYZxyz(22.1764, 28.3074, 5.8854)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9923 #322399
analogous
#996D23 #8A9923 #4F9923
triadic
#8A9923 #238A99 #99238A
tetradic
#8A9923 #23996D #322399 #99234F
square
#8A9923 #23996D #322399 #99234F
split-complementary
#8A9923 #234F99 #6D2399
monochromatic
#30350C #5D6718 #8A9923 #B7CB2E #CADA5D

Accessibility & contrast

On white

3.15
#8A9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8A9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9923
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9923#FFFFFF#000000##000000
##8A99231.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49105
Deuteranopia (green-blind)
#A2922E
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9923;
/* rgb */ color: rgb(138, 153, 35);
/* oklch */ color: oklch(65.0% 0.137 116.8);
Tailwind
colors: {
  custom: {
    50: '#afb768',
    500: '#8a9923',
    950: '#000000',
  },
}
SCSS
$custom: #8a9923;
$custom-light: #afb768;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9923",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 67.627,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64959,
    "c": 0.13722,
    "h": 116.8
  },
  "luminance": 0.28307
}

Semantic roles & 50–950 ramp

primary
#8A9923
secondary
#6659BE
accent
#42E657
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9923

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

Preview Lab → · Contrast checker → · Palette generator →

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