#8A8923#8A8923

#8A8923 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.120 H 108.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A8923
RGBrgb(138, 137, 35)
HSLhsl(59, 60%, 34%)
HSVhsv(59, 75%, 54%)
CMYKcmyk(0%, 0.7%, 74.6%, 45.9%)
CIE-LABlab(55.50, -12.13, 51.32)
CIE-LCHlch(55.50, 52.73, 103.30°)
OKLaboklab(61.22% -0.0387 0.1132)
OKLCHoklch(61.22% 0.12 108.9)
XYZxyz(19.7310, 23.4166, 5.0703)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8923 #23248A
analogous
#8A5623 #8A8923 #588A23
triadic
#8A8923 #238A89 #89238A
tetradic
#8A8923 #238A56 #23248A #8A2358
square
#8A8923 #238A56 #23248A #8A2358
split-complementary
#8A8923 #23588A #56238A
monochromatic
#28280A #595917 #8A8923 #BBB92F #D4D254

Accessibility & contrast

On white

3.70
#8A8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8923
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8923#FFFFFF#000000##000000
##8A89231.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830F
Deuteranopia (green-blind)
#96862B
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8923;
/* rgb */ color: rgb(138, 137, 35);
/* oklch */ color: oklch(61.2% 0.120 108.9);
Tailwind
colors: {
  custom: {
    50: '#afab66',
    500: '#8a8923',
    950: '#000000',
  },
}
SCSS
$custom: #8a8923;
$custom-light: #afab66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8923",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 59.417,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.11962,
    "h": 108.9
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#8A8923
secondary
#5152B7
accent
#47E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8923

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

Preview Lab → · Contrast checker → · Palette generator →

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