#A2B027#A2B027

#A2B027 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.153 H 115.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A2B027
RGBrgb(162, 176, 39)
HSLhsl(66, 64%, 42%)
HSVhsv(66, 78%, 69%)
CMYKcmyk(8%, 0%, 77.8%, 31%)
CIE-LABlab(68.66, -21.52, 62.90)
CIE-LCHlch(68.66, 66.48, 108.89°)
OKLaboklab(72.25% -0.0658 0.1376)
OKLCHoklch(72.25% 0.153 115.6)
XYZxyz(30.7927, 38.8790, 7.8013)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B027 #3527B0
analogous
#B07927 #A2B027 #5EB027
triadic
#A2B027 #27A2B0 #B027A2
tetradic
#A2B027 #27B079 #3527B0 #B0275E
square
#A2B027 #27B079 #3527B0 #B0275E
split-complementary
#A2B027 #275EB0 #7927B0
monochromatic
#464C11 #747E1C #A2B027 #C5D540 #D4E072

Accessibility & contrast

On white

2.39
#A2B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A2B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B027
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B027#FFFFFF#000000##000000
##A2B0271.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b027;
/* rgb */ color: rgb(162, 176, 39);
/* oklch */ color: oklch(72.3% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c76d',
    500: '#a2b027',
    950: '#000000',
  },
}
SCSS
$custom: #a2b027;
$custom-light: #c1c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b027",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 66.131,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7225,
    "c": 0.15252,
    "h": 115.6
  },
  "luminance": 0.38879
}

Semantic roles & 50–950 ramp

primary
#A2B027
secondary
#756CC7
accent
#41E752
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2B027

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

Preview Lab → · Contrast checker → · Palette generator →

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