#A2B130#A2B130

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

Color values

HEX#A2B130
RGBrgb(162, 177, 48)
HSLhsl(67, 57%, 44%)
HSVhsv(67, 73%, 69%)
CMYKcmyk(8.5%, 0%, 72.9%, 30.6%)
CIE-LABlab(69.00, -21.61, 60.25)
CIE-LCHlch(69.00, 64.01, 109.73°)
OKLaboklab(72.53% -0.0653 0.1336)
OKLCHoklch(72.53% 0.149 116)
XYZxyz(31.1567, 39.3395, 8.7477)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B130 #3F30B1
analogous
#B18030 #A2B130 #62B130
triadic
#A2B130 #30A2B1 #B130A2
tetradic
#A2B130 #30B180 #3F30B1 #B13062
square
#A2B130 #30B180 #3F30B1 #B13062
split-complementary
#A2B130 #3062B1 #8030B1
monochromatic
#4A5116 #768123 #A2B130 #C0CF4F #D1DC7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B130#FFFFFF#000000##000000
##A2B1301.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)
#BDA817
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#ACA798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b130;
/* rgb */ color: rgb(162, 177, 48);
/* oklch */ color: oklch(72.5% 0.149 116.0);
Tailwind
colors: {
  custom: {
    50: '#c1c872',
    500: '#a2b130',
    950: '#000000',
  },
}
SCSS
$custom: #a2b130;
$custom-light: #c1c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b130",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 66.977,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72532,
    "c": 0.14865,
    "h": 116
  },
  "luminance": 0.39339
}

Semantic roles & 50–950 ramp

primary
#A2B130
secondary
#8178C5
accent
#47E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B130

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

Preview Lab → · Contrast checker → · Palette generator →

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