#A2B41C#A2B41C

#A2B41C 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#A2B41C
RGBrgb(162, 180, 28)
HSLhsl(67, 73%, 41%)
HSVhsv(67, 84%, 71%)
CMYKcmyk(10%, 0%, 84.4%, 29.4%)
CIE-LABlab(69.76, -23.89, 66.83)
CIE-LCHlch(69.76, 70.97, 109.67°)
OKLaboklab(73.12% -0.0731 0.1441)
OKLCHoklch(73.12% 0.162 116.9)
XYZxyz(31.4320, 40.4082, 7.2421)
Luminance0.4041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B41C #2E1CB4
analogous
#B47A1C #A2B41C #56B41C
triadic
#A2B41C #1CA2B4 #B41CA2
tetradic
#A2B41C #1CB47A #2E1CB4 #B41C56
square
#A2B41C #1CB47A #2E1CB4 #B41C56
split-complementary
#A2B41C #1C56B4 #7A1CB4
monochromatic
#434A0C #727F14 #A2B41C #CADF2F #D7E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B41C#FFFFFF#000000##000000
##A2B41C1.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: #a2b41c;
/* rgb */ color: rgb(162, 180, 28);
/* oklch */ color: oklch(73.1% 0.162 116.9);
Tailwind
colors: {
  custom: {
    50: '#c2ca6a',
    500: '#a2b41c',
    950: '#000000',
  },
}
SCSS
$custom: #a2b41c;
$custom-light: #c2ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b41c",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 67.105,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73116,
    "c": 0.16158,
    "h": 116.9
  },
  "luminance": 0.40408
}

Semantic roles & 50–950 ramp

primary
#A2B41C
secondary
#6D60CC
accent
#38F04E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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