#A2B01F#A2B01F

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

Color values

HEX#A2B01F
RGBrgb(162, 176, 31)
HSLhsl(66, 70%, 41%)
HSVhsv(66, 82%, 69%)
CMYKcmyk(8%, 0%, 82.4%, 31%)
CIE-LABlab(68.63, -21.82, 65.13)
CIE-LCHlch(68.63, 68.69, 108.52°)
OKLaboklab(72.21% -0.0672 0.141)
OKLCHoklch(72.21% 0.156 115.5)
XYZxyz(30.6739, 38.8315, 7.1754)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B01F #2D1FB0
analogous
#B0751F #A2B01F #59B01F
triadic
#A2B01F #1FA2B0 #B01FA2
tetradic
#A2B01F #1FB075 #2D1FB0 #B01F59
square
#A2B01F #1FB075 #2D1FB0 #B01F59
split-complementary
#A2B01F #1F59B0 #751FB0
monochromatic
#42480D #727C16 #A2B01F #CADB31 #D8E465

Accessibility & contrast

On white

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

On black

8.77
#A2B01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B01F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B01F#FFFFFF#000000##000000
##A2B01F1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b01f;
/* rgb */ color: rgb(162, 176, 31);
/* oklch */ color: oklch(72.2% 0.156 115.5);
Tailwind
colors: {
  custom: {
    50: '#c1c76a',
    500: '#a2b01f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b01f;
$custom-light: #c1c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b01f",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 31
  },
  "hsl": {
    "h": 65.793,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72211,
    "c": 0.15615,
    "h": 115.5
  },
  "luminance": 0.38831
}

Semantic roles & 50–950 ramp

primary
#A2B01F
secondary
#6C62C9
accent
#3BED4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B01F

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

Preview Lab → · Contrast checker → · Palette generator →

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