#8A9027#8A9027

#8A9027 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.125 H 112.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A9027
RGBrgb(138, 144, 39)
HSLhsl(63, 57%, 36%)
HSVhsv(63, 73%, 56%)
CMYKcmyk(4.2%, 0%, 72.9%, 43.5%)
CIE-LABlab(57.56, -15.64, 51.81)
CIE-LCHlch(57.56, 54.12, 106.80°)
OKLaboklab(62.87% -0.0482 0.115)
OKLCHoklch(62.87% 0.125 112.7)
XYZxyz(20.8213, 25.4967, 5.7436)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9027 #2D2790
analogous
#906127 #8A9027 #559027
triadic
#8A9027 #278A90 #90278A
tetradic
#8A9027 #279061 #2D2790 #902755
square
#8A9027 #279061 #2D2790 #902755
split-complementary
#8A9027 #275590 #612790
monochromatic
#2E300D #5C601A #8A9027 #B8C034 #CDD35E

Accessibility & contrast

On white

3.44
#8A9027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8A9027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9027
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9027#FFFFFF#000000##000000
##8A90271.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#94877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9027;
/* rgb */ color: rgb(138, 144, 39);
/* oklch */ color: oklch(62.9% 0.125 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb069',
    500: '#8a9027',
    950: '#000000',
  },
}
SCSS
$custom: #8a9027;
$custom-light: #afb069;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9027",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 39
  },
  "hsl": {
    "h": 63.429,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62874,
    "c": 0.12463,
    "h": 112.7
  },
  "luminance": 0.25496
}

Semantic roles & 50–950 ramp

primary
#8A9027
secondary
#605AB9
accent
#47E150
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9027

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

Preview Lab → · Contrast checker → · Palette generator →

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