#8A9B27#8A9B27

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

Color values

HEX#8A9B27
RGBrgb(138, 155, 39)
HSLhsl(69, 60%, 38%)
HSVhsv(69, 75%, 61%)
CMYKcmyk(11%, 0%, 74.8%, 39.2%)
CIE-LABlab(60.78, -21.31, 54.91)
CIE-LCHlch(60.78, 58.90, 111.21°)
OKLaboklab(65.46% -0.0639 0.1215)
OKLCHoklch(65.46% 0.137 117.7)
XYZxyz(22.5693, 28.9927, 6.3263)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B27 #38279B
analogous
#9B7227 #8A9B27 #509B27
triadic
#8A9B27 #278A9B #9B278A
tetradic
#8A9B27 #279B72 #38279B #9B2750
square
#8A9B27 #279B72 #38279B #9B2750
split-complementary
#8A9B27 #27509B #72279B
monochromatic
#33390E #5E6A1B #8A9B27 #B5CC33 #C7D864

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9B27#FFFFFF#000000##000000
##8A9B271.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)
#A6920F
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#939285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b27;
/* rgb */ color: rgb(138, 155, 39);
/* oklch */ color: oklch(65.5% 0.137 117.7);
Tailwind
colors: {
  custom: {
    50: '#afb86a',
    500: '#8a9b27',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b27;
$custom-light: #afb86a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b27",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 68.793,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65457,
    "c": 0.13725,
    "h": 117.7
  },
  "luminance": 0.28992
}

Semantic roles & 50–950 ramp

primary
#8A9B27
secondary
#6E60BE
accent
#45E35C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B27

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

Preview Lab → · Contrast checker → · Palette generator →

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