#8A9A23#8A9A23

#8A9A23 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.138 H 117.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A9A23
RGBrgb(138, 154, 35)
HSLhsl(68, 63%, 37%)
HSVhsv(68, 77%, 60%)
CMYKcmyk(10.4%, 0%, 77.3%, 39.6%)
CIE-LABlab(60.46, -20.99, 55.97)
CIE-LCHlch(60.46, 59.78, 110.56°)
OKLaboklab(65.2% -0.0634 0.123)
OKLCHoklch(65.2% 0.138 117.3)
XYZxyz(22.3408, 28.6361, 5.9402)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A23 #33239A
analogous
#9A6F23 #8A9A23 #4F9A23
triadic
#8A9A23 #238A9A #9A238A
tetradic
#8A9A23 #239A6F #33239A #9A234F
square
#8A9A23 #239A6F #33239A #9A234F
split-complementary
#8A9A23 #234F9A #6F239A
monochromatic
#31360C #5D6818 #8A9A23 #B7CC2E #C9DA5D

Accessibility & contrast

On white

3.12
#8A9A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8A9A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A23
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A23#FFFFFF#000000##000000
##8A9A231.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59104
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a23;
/* rgb */ color: rgb(138, 154, 35);
/* oklch */ color: oklch(65.2% 0.138 117.3);
Tailwind
colors: {
  custom: {
    50: '#afb768',
    500: '#8a9a23',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a23;
$custom-light: #afb768;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a23",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 68.067,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.13838,
    "h": 117.3
  },
  "luminance": 0.28636
}

Semantic roles & 50–950 ramp

primary
#8A9A23
secondary
#675ABF
accent
#42E658
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A23

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

Preview Lab → · Contrast checker → · Palette generator →

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