#8A9D23#8A9D23

#8A9D23 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.142 H 118.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A9D23
RGBrgb(138, 157, 35)
HSLhsl(69, 64%, 38%)
HSVhsv(69, 78%, 62%)
CMYKcmyk(12.1%, 0%, 77.7%, 38.4%)
CIE-LABlab(61.34, -22.50, 56.79)
CIE-LCHlch(61.34, 61.09, 111.62°)
OKLaboklab(65.91% -0.0675 0.1247)
OKLCHoklch(65.91% 0.142 118.4)
XYZxyz(22.8421, 29.6388, 6.1073)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D23 #36239D
analogous
#9D7323 #8A9D23 #4D9D23
triadic
#8A9D23 #238A9D #9D238A
tetradic
#8A9D23 #239D73 #36239D #9D234D
square
#8A9D23 #239D73 #36239D #9D234D
split-complementary
#8A9D23 #234D9D #73239D
monochromatic
#32390D #5E6B18 #8A9D23 #B6CF2E #C8DB5F

Accessibility & contrast

On white

3.03
#8A9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8A9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D23
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D23#FFFFFF#000000##000000
##8A9D231.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89402
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#939486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d23;
/* rgb */ color: rgb(138, 157, 35);
/* oklch */ color: oklch(65.9% 0.142 118.4);
Tailwind
colors: {
  custom: {
    50: '#b0b969',
    500: '#8a9d23',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d23;
$custom-light: #b0b969;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d23",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 69.344,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65905,
    "c": 0.14184,
    "h": 118.4
  },
  "luminance": 0.29639
}

Semantic roles & 50–950 ramp

primary
#8A9D23
secondary
#6B5CC0
accent
#41E75B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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