#A2B01B#A2B01B

#A2B01B is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.158 H 115.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A2B01B
RGBrgb(162, 176, 27)
HSLhsl(66, 73%, 40%)
HSVhsv(66, 85%, 69%)
CMYKcmyk(8%, 0%, 84.7%, 31%)
CIE-LABlab(68.61, -21.94, 66.09)
CIE-LCHlch(68.61, 69.64, 108.36°)
OKLaboklab(72.19% -0.0678 0.1424)
OKLCHoklch(72.19% 0.158 115.5)
XYZxyz(30.6244, 38.8117, 6.9149)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B01B #291BB0
analogous
#B0741B #A2B01B #57B01B
triadic
#A2B01B #1BA2B0 #B01BA2
tetradic
#A2B01B #1BB074 #291BB0 #B01B57
square
#A2B01B #1BB074 #291BB0 #B01B57
split-complementary
#A2B01B #1B57B0 #741BB0
monochromatic
#40460B #717B13 #A2B01B #CDDE2A #DAE65F

Accessibility & contrast

On white

2.40
#A2B01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A2B01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B01B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B01B#FFFFFF#000000##000000
##A2B01B1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BCA82C
Tritanopia (blue-blind)
#ADA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2b01b;
/* rgb */ color: rgb(162, 176, 27);
/* oklch */ color: oklch(72.2% 0.158 115.5);
Tailwind
colors: {
  custom: {
    50: '#c2c769',
    500: '#a2b01b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b01b;
$custom-light: #c2c769;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b01b",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 27
  },
  "hsl": {
    "h": 65.638,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.72195,
    "c": 0.15768,
    "h": 115.5
  },
  "luminance": 0.38811
}

Semantic roles & 50–950 ramp

primary
#A2B01B
secondary
#675CCB
accent
#38F049
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B01B

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

Preview Lab → · Contrast checker → · Palette generator →

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