#A7A91C#A7A91C

#A7A91C is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.149 H 110.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A7A91C
RGBrgb(167, 169, 28)
HSLhsl(61, 72%, 39%)
HSVhsv(61, 83%, 66%)
CMYKcmyk(1.2%, 0%, 83.4%, 33.7%)
CIE-LABlab(67.03, -16.21, 64.68)
CIE-LCHlch(67.03, 66.68, 104.07°)
OKLaboklab(71.03% -0.0522 0.1392)
OKLCHoklch(71.03% 0.149 110.5)
XYZxyz(30.3351, 36.6762, 6.5796)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A91C #1E1CA9
analogous
#A9641C #A7A91C #60A91C
triadic
#A7A91C #1CA7A9 #A91CA7
tetradic
#A7A91C #1CA964 #1E1CA9 #A91C60
square
#A7A91C #1CA964 #1E1CA9 #A91C60
split-complementary
#A7A91C #1C60A9 #641CA9
monochromatic
#3F400B #737413 #A7A91C #D9DB27 #E2E45B

Accessibility & contrast

On white

2.52
#A7A91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A7A91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A91C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A91C#FFFFFF#000000##000000
##A7A91C1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A52B
Tritanopia (blue-blind)
#B39E90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a91c;
/* rgb */ color: rgb(167, 169, 28);
/* oklch */ color: oklch(71.0% 0.149 110.5);
Tailwind
colors: {
  custom: {
    50: '#c5c268',
    500: '#a7a91c',
    950: '#000000',
  },
}
SCSS
$custom: #a7a91c;
$custom-light: #c5c268;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a91c",
  "rgb": {
    "r": 167,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 60.851,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.71026,
    "c": 0.14869,
    "h": 110.5
  },
  "luminance": 0.36675
}

Semantic roles & 50–950 ramp

primary
#A7A91C
secondary
#5B59C8
accent
#39EE3C
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A91C

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

Preview Lab → · Contrast checker → · Palette generator →

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