#A7B019#A7B019

#A7B019 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.157 H 113.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#A7B019
RGBrgb(167, 176, 25)
HSLhsl(64, 75%, 39%)
HSVhsv(64, 86%, 69%)
CMYKcmyk(5.1%, 0%, 85.8%, 31%)
CIE-LABlab(68.99, -19.84, 67.02)
CIE-LCHlch(68.99, 69.89, 106.49°)
OKLaboklab(72.59% -0.0623 0.1438)
OKLCHoklch(72.59% 0.157 113.4)
XYZxyz(31.6382, 39.3371, 6.8457)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B019 #2219B0
analogous
#B06E19 #A7B019 #5CB019
triadic
#A7B019 #19A7B0 #B019A7
tetradic
#A7B019 #19B06E #2219B0 #B0195C
square
#A7B019 #19B06E #2219B0 #B0195C
split-complementary
#A7B019 #195CB0 #6E19B0
monochromatic
#41450A #747A11 #A7B019 #D5E026 #DFE85C

Accessibility & contrast

On white

2.37
#A7B019 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#A7B019 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B019
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B019#FFFFFF#000000##000000
##A7B0191.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BEAA2A
Tritanopia (blue-blind)
#B3A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7b019;
/* rgb */ color: rgb(167, 176, 25);
/* oklch */ color: oklch(72.6% 0.157 113.4);
Tailwind
colors: {
  custom: {
    50: '#c5c768',
    500: '#a7b019',
    950: '#000000',
  },
}
SCSS
$custom: #a7b019;
$custom-light: #c5c768;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b019",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 25
  },
  "hsl": {
    "h": 63.576,
    "s": 75.124,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72594,
    "c": 0.15676,
    "h": 113.4
  },
  "luminance": 0.39336
}

Semantic roles & 50–950 ramp

primary
#A7B019
secondary
#6059CC
accent
#36F241
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B019

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

Preview Lab → · Contrast checker → · Palette generator →

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