#A2B026#A2B026

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

Color values

HEX#A2B026
RGBrgb(162, 176, 38)
HSLhsl(66, 64%, 42%)
HSVhsv(66, 78%, 69%)
CMYKcmyk(8%, 0%, 78.4%, 31%)
CIE-LABlab(68.66, -21.56, 63.20)
CIE-LCHlch(68.66, 66.78, 108.84°)
OKLaboklab(72.24% -0.066 0.1381)
OKLCHoklch(72.24% 0.153 115.5)
XYZxyz(30.7764, 38.8725, 7.7152)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B026 #3426B0
analogous
#B07926 #A2B026 #5DB026
triadic
#A2B026 #26A2B0 #B026A2
tetradic
#A2B026 #26B079 #3426B0 #B0265D
square
#A2B026 #26B079 #3426B0 #B0265D
split-complementary
#A2B026 #265DB0 #7926B0
monochromatic
#454B10 #747E1B #A2B026 #C6D53E #D5E070

Accessibility & contrast

On white

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

On black

8.77
#A2B026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B026
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B026#FFFFFF#000000##000000
##A2B0261.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b026;
/* rgb */ color: rgb(162, 176, 38);
/* oklch */ color: oklch(72.2% 0.153 115.5);
Tailwind
colors: {
  custom: {
    50: '#c1c76d',
    500: '#a2b026',
    950: '#000000',
  },
}
SCSS
$custom: #a2b026;
$custom-light: #c1c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b026",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 38
  },
  "hsl": {
    "h": 66.087,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.15301,
    "h": 115.5
  },
  "luminance": 0.38872
}

Semantic roles & 50–950 ramp

primary
#A2B026
secondary
#746BC7
accent
#40E751
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2B026

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

Preview Lab → · Contrast checker → · Palette generator →

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