#A2B41F#A2B41F

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

Color values

HEX#A2B41F
RGBrgb(162, 180, 31)
HSLhsl(67, 71%, 41%)
HSVhsv(67, 83%, 71%)
CMYKcmyk(10%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.77, -23.79, 66.11)
CIE-LCHlch(69.77, 70.26, 109.79°)
OKLaboklab(73.13% -0.0726 0.1431)
OKLCHoklch(73.13% 0.16 116.9)
XYZxyz(31.4697, 40.4232, 7.4407)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B41F #311FB4
analogous
#B47C1F #A2B41F #58B41F
triadic
#A2B41F #1FA2B4 #B41FA2
tetradic
#A2B41F #1FB47C #311FB4 #B41F58
square
#A2B41F #1FB47C #311FB4 #B41F58
split-complementary
#A2B41F #1F58B4 #7C1FB4
monochromatic
#444C0D #738016 #A2B41F #C8DC34 #D6E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B41F#FFFFFF#000000##000000
##A2B41F1.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)
#BFAB2F
Tritanopia (blue-blind)
#ADA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b41f;
/* rgb */ color: rgb(162, 180, 31);
/* oklch */ color: oklch(73.1% 0.160 116.9);
Tailwind
colors: {
  custom: {
    50: '#c1ca6b',
    500: '#a2b41f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b41f;
$custom-light: #c1ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b41f",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 67.248,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73128,
    "c": 0.16045,
    "h": 116.9
  },
  "luminance": 0.40423
}

Semantic roles & 50–950 ramp

primary
#A2B41F
secondary
#7164CB
accent
#3AED50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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