#8A9423#8A9423

#8A9423 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.132 H 114.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A9423
RGBrgb(138, 148, 35)
HSLhsl(65, 62%, 36%)
HSVhsv(65, 76%, 58%)
CMYKcmyk(6.8%, 0%, 76.4%, 42%)
CIE-LABlab(58.70, -17.92, 54.34)
CIE-LCHlch(58.70, 57.21, 108.26°)
OKLaboklab(63.78% -0.0549 0.1196)
OKLCHoklch(63.78% 0.132 114.7)
XYZxyz(21.3751, 26.7048, 5.6183)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9423 #2D2394
analogous
#946523 #8A9423 #519423
triadic
#8A9423 #238A94 #94238A
tetradic
#8A9423 #239465 #2D2394 #942351
square
#8A9423 #239465 #2D2394 #942351
split-complementary
#8A9423 #235194 #652394
monochromatic
#2E310C #5C6317 #8A9423 #B8C52F #CDD85A

Accessibility & contrast

On white

3.31
#8A9423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8A9423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9423
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9423#FFFFFF#000000##000000
##8A94231.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C08
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9423;
/* rgb */ color: rgb(138, 148, 35);
/* oklch */ color: oklch(63.8% 0.132 114.7);
Tailwind
colors: {
  custom: {
    50: '#afb367',
    500: '#8a9423',
    950: '#000000',
  },
}
SCSS
$custom: #8a9423;
$custom-light: #afb367;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9423",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 65.31,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63783,
    "c": 0.13154,
    "h": 114.7
  },
  "luminance": 0.26704
}

Semantic roles & 50–950 ramp

primary
#8A9423
secondary
#6057BC
accent
#43E551
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9423

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

Preview Lab → · Contrast checker → · Palette generator →

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