#A2B41B#A2B41B

#A2B41B is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.162 H 116.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A2B41B
RGBrgb(162, 180, 27)
HSLhsl(67, 74%, 41%)
HSVhsv(67, 85%, 71%)
CMYKcmyk(10%, 0%, 85%, 29.4%)
CIE-LABlab(69.76, -23.92, 67.05)
CIE-LCHlch(69.76, 71.19, 109.63°)
OKLaboklab(73.11% -0.0732 0.1445)
OKLCHoklch(73.11% 0.162 116.9)
XYZxyz(31.4203, 40.4035, 7.1801)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B41B #2D1BB4
analogous
#B4791B #A2B41B #55B41B
triadic
#A2B41B #1BA2B4 #B41BA2
tetradic
#A2B41B #1BB479 #2D1BB4 #B41B55
square
#A2B41B #1BB479 #2D1BB4 #B41B55
split-complementary
#A2B41B #1B55B4 #791BB4
monochromatic
#424A0B #727F13 #A2B41B #CADF2D #D8E762

Accessibility & contrast

On white

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

On black

9.08
#A2B41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B41B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B41B#FFFFFF#000000##000000
##A2B41B1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB2D
Tritanopia (blue-blind)
#ADA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b41b;
/* rgb */ color: rgb(162, 180, 27);
/* oklch */ color: oklch(73.1% 0.162 116.9);
Tailwind
colors: {
  custom: {
    50: '#c2ca69',
    500: '#a2b41b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b41b;
$custom-light: #c2ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b41b",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 67.059,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73112,
    "c": 0.16194,
    "h": 116.9
  },
  "luminance": 0.40403
}

Semantic roles & 50–950 ramp

primary
#A2B41B
secondary
#6C5FCC
accent
#37F14D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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