#A7B416#A7B416

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

Color values

HEX#A7B416
RGBrgb(167, 180, 22)
HSLhsl(65, 78%, 40%)
HSVhsv(65, 88%, 71%)
CMYKcmyk(7.2%, 0%, 87.8%, 29.4%)
CIE-LABlab(70.12, -21.90, 68.55)
CIE-LCHlch(70.12, 71.97, 107.72°)
OKLaboklab(73.49% -0.0682 0.1467)
OKLCHoklch(73.49% 0.162 114.9)
XYZxyz(32.4035, 40.9165, 6.9496)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B416 #2316B4
analogous
#B47216 #A7B416 #58B416
triadic
#A7B416 #16A7B4 #B416A7
tetradic
#A7B416 #16B472 #2316B4 #B41658
square
#A7B416 #16B472 #2316B4 #B41658
split-complementary
#A7B416 #1658B4 #7216B4
monochromatic
#424709 #747D0F #A7B416 #D4E423 #DFEB5A

Accessibility & contrast

On white

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

On black

9.18
#A7B416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B416
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B416#FFFFFF#000000##000000
##A7B4161.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b416;
/* rgb */ color: rgb(167, 180, 22);
/* oklch */ color: oklch(73.5% 0.162 114.9);
Tailwind
colors: {
  custom: {
    50: '#c5ca68',
    500: '#a7b416',
    950: '#000000',
  },
}
SCSS
$custom: #a7b416;
$custom-light: #c5ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b416",
  "rgb": {
    "r": 167,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 64.937,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73492,
    "c": 0.1618,
    "h": 114.9
  },
  "luminance": 0.40916
}

Semantic roles & 50–950 ramp

primary
#A7B416
secondary
#6158CE
accent
#33F543
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B416

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

Preview Lab → · Contrast checker → · Palette generator →

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