#8A9B28#8A9B28

#8A9B28 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.137 H 117.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9B28
RGBrgb(138, 155, 40)
HSLhsl(69, 59%, 38%)
HSVhsv(69, 74%, 61%)
CMYKcmyk(11%, 0%, 74.2%, 39.2%)
CIE-LABlab(60.78, -21.26, 54.56)
CIE-LCHlch(60.78, 58.55, 111.29°)
OKLaboklab(65.46% -0.0636 0.1209)
OKLCHoklch(65.46% 0.137 117.8)
XYZxyz(22.5861, 28.9994, 6.4147)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B28 #39289B
analogous
#9B7228 #8A9B28 #509B28
triadic
#8A9B28 #288A9B #9B288A
tetradic
#8A9B28 #289B72 #39289B #9B2850
square
#8A9B28 #289B72 #39289B #9B2850
split-complementary
#8A9B28 #28509B #72289B
monochromatic
#333A0F #5F6A1B #8A9B28 #B5CB35 #C7D766

Accessibility & contrast

On white

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

On black

6.80
#8A9B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B28
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B28#FFFFFF#000000##000000
##8A9B281.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9b28;
/* rgb */ color: rgb(138, 155, 40);
/* oklch */ color: oklch(65.5% 0.137 117.8);
Tailwind
colors: {
  custom: {
    50: '#afb86b',
    500: '#8a9b28',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b28;
$custom-light: #afb86b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b28",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 68.87,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65463,
    "c": 0.13665,
    "h": 117.8
  },
  "luminance": 0.28999
}

Semantic roles & 50–950 ramp

primary
#8A9B28
secondary
#6F61BD
accent
#46E25D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B28

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

Preview Lab → · Contrast checker → · Palette generator →

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