#A2B131#A2B131

#A2B131 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.148 H 116.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#A2B131
RGBrgb(162, 177, 49)
HSLhsl(67, 57%, 44%)
HSVhsv(67, 72%, 69%)
CMYKcmyk(8.5%, 0%, 72.3%, 30.6%)
CIE-LABlab(69.00, -21.56, 59.90)
CIE-LCHlch(69.00, 63.66, 109.80°)
OKLaboklab(72.54% -0.065 0.133)
OKLCHoklch(72.54% 0.148 116.1)
XYZxyz(31.1776, 39.3479, 8.8576)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B131 #4031B1
analogous
#B18031 #A2B131 #62B131
triadic
#A2B131 #31A2B1 #B131A2
tetradic
#A2B131 #31B180 #4031B1 #B13162
square
#A2B131 #31B180 #4031B1 #B13162
split-complementary
#A2B131 #3162B1 #8031B1
monochromatic
#4A5116 #768124 #A2B131 #C0CF51 #D1DC80

Accessibility & contrast

On white

2.37
#A2B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#A2B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B131
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B131#FFFFFF#000000##000000
##A2B1311.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA819
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#ACA798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b131;
/* rgb */ color: rgb(162, 177, 49);
/* oklch */ color: oklch(72.5% 0.148 116.1);
Tailwind
colors: {
  custom: {
    50: '#c1c872',
    500: '#a2b131',
    950: '#000000',
  },
}
SCSS
$custom: #a2b131;
$custom-light: #c1c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b131",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 67.031,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72539,
    "c": 0.14804,
    "h": 116.1
  },
  "luminance": 0.39347
}

Semantic roles & 50–950 ramp

primary
#A2B131
secondary
#8279C5
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B131

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

Preview Lab → · Contrast checker → · Palette generator →

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