#A1B027#A1B027

#A1B027 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.153 H 116.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#A1B027
RGBrgb(161, 176, 39)
HSLhsl(67, 64%, 42%)
HSVhsv(67, 78%, 69%)
CMYKcmyk(8.5%, 0%, 77.8%, 31%)
CIE-LABlab(68.59, -21.95, 62.81)
CIE-LCHlch(68.59, 66.53, 109.27°)
OKLaboklab(72.17% -0.0669 0.1374)
OKLCHoklch(72.17% 0.153 116)
XYZxyz(30.5903, 38.7747, 7.7919)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B027 #3627B0
analogous
#B07A27 #A1B027 #5DB027
triadic
#A1B027 #27A1B0 #B027A1
tetradic
#A1B027 #27B07A #3627B0 #B0275D
square
#A1B027 #27B07A #3627B0 #B0275D
split-complementary
#A1B027 #275DB0 #7A27B0
monochromatic
#454C11 #737E1C #A1B027 #C4D540 #D4E072

Accessibility & contrast

On white

2.40
#A1B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#A1B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B027
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B027#FFFFFF#000000##000000
##A1B0271.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BCA834
Tritanopia (blue-blind)
#ACA697
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1b027;
/* rgb */ color: rgb(161, 176, 39);
/* oklch */ color: oklch(72.2% 0.153 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c76d',
    500: '#a1b027',
    950: '#000000',
  },
}
SCSS
$custom: #a1b027;
$custom-light: #c0c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b027",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 66.569,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7217,
    "c": 0.15285,
    "h": 116
  },
  "luminance": 0.38774
}

Semantic roles & 50–950 ramp

primary
#A1B027
secondary
#766CC7
accent
#41E753
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A1B027

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

Preview Lab → · Contrast checker → · Palette generator →

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