#A2B431#A2B431

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

Color values

HEX#A2B431
RGBrgb(162, 180, 49)
HSLhsl(68, 57%, 45%)
HSVhsv(68, 73%, 71%)
CMYKcmyk(10%, 0%, 72.8%, 29.4%)
CIE-LABlab(69.86, -23.05, 60.72)
CIE-LCHlch(69.86, 64.95, 110.78°)
OKLaboklab(73.22% -0.0692 0.1347)
OKLCHoklch(73.22% 0.151 117.2)
XYZxyz(31.7767, 40.5460, 9.0573)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B431 #4331B4
analogous
#B48431 #A2B431 #61B431
triadic
#A2B431 #31A2B4 #B431A2
tetradic
#A2B431 #31B484 #4331B4 #B43161
square
#A2B431 #31B484 #4331B4 #B43161
split-complementary
#A2B431 #3161B4 #8431B4
monochromatic
#4B5417 #778424 #A2B431 #BFD052 #D1DD82

Accessibility & contrast

On white

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

On black

9.11
#A2B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B431
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B431#FFFFFF#000000##000000
##A2B4311.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#BFAB3C
Tritanopia (blue-blind)
#ACAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b431;
/* rgb */ color: rgb(162, 180, 49);
/* oklch */ color: oklch(73.2% 0.151 117.2);
Tailwind
colors: {
  custom: {
    50: '#c1ca72',
    500: '#a2b431',
    950: '#000000',
  },
}
SCSS
$custom: #a2b431;
$custom-light: #c1ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b431",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 68.244,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73225,
    "c": 0.15144,
    "h": 117.2
  },
  "luminance": 0.40546
}

Semantic roles & 50–950 ramp

primary
#A2B431
secondary
#857BC6
accent
#47E05C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B431

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

Preview Lab → · Contrast checker → · Palette generator →

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