#A2B427#A2B427

#A2B427 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.157 H 117.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A2B427
RGBrgb(162, 180, 39)
HSLhsl(68, 64%, 43%)
HSVhsv(68, 78%, 71%)
CMYKcmyk(10%, 0%, 78.3%, 29.4%)
CIE-LABlab(69.80, -23.50, 63.94)
CIE-LCHlch(69.80, 68.12, 110.18°)
OKLaboklab(73.17% -0.0713 0.1398)
OKLCHoklch(73.17% 0.157 117)
XYZxyz(31.5886, 40.4708, 8.0666)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B427 #3927B4
analogous
#B48027 #A2B427 #5BB427
triadic
#A2B427 #27A2B4 #B427A2
tetradic
#A2B427 #27B480 #3927B4 #B4275B
square
#A2B427 #27B480 #3927B4 #B4275B
split-complementary
#A2B427 #275BB4 #8027B4
monochromatic
#474F11 #75821C #A2B427 #C3D642 #D3E174

Accessibility & contrast

On white

2.31
#A2B427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A2B427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B427
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B427#FFFFFF#000000##000000
##A2B4271.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#ACAA9A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b427;
/* rgb */ color: rgb(162, 180, 39);
/* oklch */ color: oklch(73.2% 0.157 117.0);
Tailwind
colors: {
  custom: {
    50: '#c1ca6e',
    500: '#a2b427',
    950: '#000000',
  },
}
SCSS
$custom: #a2b427;
$custom-light: #c1ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b427",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 67.66,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73166,
    "c": 0.15691,
    "h": 117
  },
  "luminance": 0.4047
}

Semantic roles & 50–950 ramp

primary
#A2B427
secondary
#7A6FC8
accent
#40E756
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B427

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

Preview Lab → · Contrast checker → · Palette generator →

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