#8A9B23#8A9B23

#8A9B23 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.4% C 0.140 H 117.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A9B23
RGBrgb(138, 155, 35)
HSLhsl(69, 63%, 37%)
HSVhsv(69, 77%, 61%)
CMYKcmyk(11%, 0%, 77.4%, 39.2%)
CIE-LABlab(60.75, -21.50, 56.24)
CIE-LCHlch(60.75, 60.21, 110.92°)
OKLaboklab(65.43% -0.0647 0.1236)
OKLCHoklch(65.43% 0.14 117.7)
XYZxyz(22.5065, 28.9676, 5.9954)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B23 #34239B
analogous
#9B7023 #8A9B23 #4E9B23
triadic
#8A9B23 #238A9B #9B238A
tetradic
#8A9B23 #239B70 #34239B #9B234E
square
#8A9B23 #239B70 #34239B #9B234E
split-complementary
#8A9B23 #234E9B #70239B
monochromatic
#31370C #5E6918 #8A9B23 #B6CD2E #C9DB5E

Accessibility & contrast

On white

3.09
#8A9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8A9B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B23
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B23#FFFFFF#000000##000000
##8A9B231.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69203
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#939285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b23;
/* rgb */ color: rgb(138, 155, 35);
/* oklch */ color: oklch(65.4% 0.140 117.7);
Tailwind
colors: {
  custom: {
    50: '#b0b868',
    500: '#8a9b23',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b23;
$custom-light: #b0b868;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b23",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 68.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65432,
    "c": 0.13952,
    "h": 117.7
  },
  "luminance": 0.28967
}

Semantic roles & 50–950 ramp

primary
#8A9B23
secondary
#695ABF
accent
#42E659
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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