#8A9028#8A9028

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

Color values

HEX#8A9028
RGBrgb(138, 144, 40)
HSLhsl(63, 57%, 36%)
HSVhsv(63, 72%, 56%)
CMYKcmyk(4.2%, 0%, 72.2%, 43.5%)
CIE-LABlab(57.56, -15.59, 51.44)
CIE-LCHlch(57.56, 53.75, 106.86°)
OKLaboklab(62.88% -0.0479 0.1144)
OKLCHoklch(62.88% 0.124 112.7)
XYZxyz(20.8381, 25.5035, 5.8320)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9028 #2E2890
analogous
#906228 #8A9028 #569028
triadic
#8A9028 #288A90 #90288A
tetradic
#8A9028 #289062 #2E2890 #902856
square
#8A9028 #289062 #2E2890 #902856
split-complementary
#8A9028 #285690 #622890
monochromatic
#2E300D #5C601B #8A9028 #B8C035 #CCD360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9028#FFFFFF#000000##000000
##8A90281.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)
#9B8916
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9028;
/* rgb */ color: rgb(138, 144, 40);
/* oklch */ color: oklch(62.9% 0.124 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb069',
    500: '#8a9028',
    950: '#000000',
  },
}
SCSS
$custom: #8a9028;
$custom-light: #afb069;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9028",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 63.462,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62881,
    "c": 0.12398,
    "h": 112.7
  },
  "luminance": 0.25503
}

Semantic roles & 50–950 ramp

primary
#8A9028
secondary
#615CB8
accent
#48E051
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9028

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

Preview Lab → · Contrast checker → · Palette generator →

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