#A2B031#A2B031

#A2B031 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.147 H 115.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#A2B031
RGBrgb(162, 176, 49)
HSLhsl(67, 56%, 44%)
HSVhsv(67, 72%, 69%)
CMYKcmyk(8%, 0%, 72.2%, 31%)
CIE-LABlab(68.72, -21.06, 59.62)
CIE-LCHlch(68.72, 63.23, 109.46°)
OKLaboklab(72.31% -0.0637 0.1324)
OKLCHoklch(72.31% 0.147 115.7)
XYZxyz(30.9808, 38.9543, 8.7920)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B031 #3F31B0
analogous
#B07F31 #A2B031 #63B031
triadic
#A2B031 #31A2B0 #B031A2
tetradic
#A2B031 #31B07F #3F31B0 #B03163
square
#A2B031 #31B07F #3F31B0 #B03163
split-complementary
#A2B031 #3163B0 #7F31B0
monochromatic
#4A5016 #768024 #A2B031 #C0CE50 #D1DC80

Accessibility & contrast

On white

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

On black

8.79
#A2B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B031
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B031#FFFFFF#000000##000000
##A2B0311.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA719
Deuteranopia (green-blind)
#BBA93B
Tritanopia (blue-blind)
#ACA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b031;
/* rgb */ color: rgb(162, 176, 49);
/* oklch */ color: oklch(72.3% 0.147 115.7);
Tailwind
colors: {
  custom: {
    50: '#c1c772',
    500: '#a2b031',
    950: '#000000',
  },
}
SCSS
$custom: #a2b031;
$custom-light: #c1c772;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b031",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 66.614,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72311,
    "c": 0.14691,
    "h": 115.7
  },
  "luminance": 0.38954
}

Semantic roles & 50–950 ramp

primary
#A2B031
secondary
#8178C5
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B031

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

Preview Lab → · Contrast checker → · Palette generator →

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