#A7B41A#A7B41A

#A7B41A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.161 H 114.9°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A7B41A
RGBrgb(167, 180, 26)
HSLhsl(65, 75%, 40%)
HSVhsv(65, 86%, 71%)
CMYKcmyk(7.2%, 0%, 85.6%, 29.4%)
CIE-LABlab(70.13, -21.81, 67.74)
CIE-LCHlch(70.13, 71.16, 107.84°)
OKLaboklab(73.51% -0.0677 0.1456)
OKLCHoklch(73.51% 0.161 114.9)
XYZxyz(32.4451, 40.9332, 7.1688)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B41A #271AB4
analogous
#B4741A #A7B41A #5AB41A
triadic
#A7B41A #1AA7B4 #B41AA7
tetradic
#A7B41A #1AB474 #271AB4 #B41A5A
square
#A7B41A #1AB474 #271AB4 #B41A5A
split-complementary
#A7B41A #1A5AB4 #741AB4
monochromatic
#44490B #757F12 #A7B41A #D1E02B #DDE860

Accessibility & contrast

On white

2.29
#A7B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A7B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B41A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B41A#FFFFFF#000000##000000
##A7B41A1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C1AD2C
Tritanopia (blue-blind)
#B3A999
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b41a;
/* rgb */ color: rgb(167, 180, 26);
/* oklch */ color: oklch(73.5% 0.161 114.9);
Tailwind
colors: {
  custom: {
    50: '#c5ca69',
    500: '#a7b41a',
    950: '#000000',
  },
}
SCSS
$custom: #a7b41a;
$custom-light: #c5ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b41a",
  "rgb": {
    "r": 167,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 65.065,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73505,
    "c": 0.16055,
    "h": 114.9
  },
  "luminance": 0.40933
}

Semantic roles & 50–950 ramp

primary
#A7B41A
secondary
#675DCC
accent
#36F146
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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