#A8B027#A8B027

#A8B027 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.151 H 113.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A8B027
RGBrgb(168, 176, 39)
HSLhsl(64, 64%, 42%)
HSVhsv(64, 78%, 69%)
CMYKcmyk(4.5%, 0%, 77.8%, 31%)
CIE-LABlab(69.13, -18.95, 63.50)
CIE-LCHlch(69.13, 66.26, 106.62°)
OKLaboklab(72.74% -0.059 0.1386)
OKLCHoklch(72.74% 0.151 113)
XYZxyz(32.0410, 39.5227, 7.8599)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B027 #2F27B0
analogous
#B07427 #A8B027 #63B027
triadic
#A8B027 #27A8B0 #B027A8
tetradic
#A8B027 #27B074 #2F27B0 #B02763
square
#A8B027 #27B074 #2F27B0 #B02763
split-complementary
#A8B027 #2763B0 #7427B0
monochromatic
#484C11 #787E1C #A8B027 #CCD540 #D9E072

Accessibility & contrast

On white

2.36
#A8B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A8B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B027
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B027#FFFFFF#000000##000000
##A8B0271.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BEAA33
Tritanopia (blue-blind)
#B4A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b027;
/* rgb */ color: rgb(168, 176, 39);
/* oklch */ color: oklch(72.7% 0.151 113.0);
Tailwind
colors: {
  custom: {
    50: '#c6c76d',
    500: '#a8b027',
    950: '#000000',
  },
}
SCSS
$custom: #a8b027;
$custom-light: #c6c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b027",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 63.504,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72737,
    "c": 0.15067,
    "h": 113
  },
  "luminance": 0.39522
}

Semantic roles & 50–950 ramp

primary
#A8B027
secondary
#716CC7
accent
#41E74B
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8B027

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

Preview Lab → · Contrast checker → · Palette generator →

#A8B027 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva