#A7A91F#A7A91F

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

Color values

HEX#A7A91F
RGBrgb(167, 169, 31)
HSLhsl(61, 69%, 39%)
HSVhsv(61, 82%, 66%)
CMYKcmyk(1.2%, 0%, 81.7%, 33.7%)
CIE-LABlab(67.04, -16.11, 63.92)
CIE-LCHlch(67.04, 65.92, 104.15°)
OKLaboklab(71.04% -0.0517 0.1381)
OKLCHoklch(71.04% 0.147 110.5)
XYZxyz(30.3728, 36.6912, 6.7782)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A91F #211FA9
analogous
#A9661F #A7A91F #62A91F
triadic
#A7A91F #1FA7A9 #A91FA7
tetradic
#A7A91F #1FA966 #211FA9 #A91F62
square
#A7A91F #1FA966 #211FA9 #A91F62
split-complementary
#A7A91F #1F62A9 #661FA9
monochromatic
#41420C #747516 #A7A91F #D6D82D #E0E260

Accessibility & contrast

On white

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

On black

8.34
#A7A91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A91F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A91F#FFFFFF#000000##000000
##A7A91F1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a91f;
/* rgb */ color: rgb(167, 169, 31);
/* oklch */ color: oklch(71.0% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#c5c269',
    500: '#a7a91f',
    950: '#000000',
  },
}
SCSS
$custom: #a7a91f;
$custom-light: #c5c269;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a91f",
  "rgb": {
    "r": 167,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 60.87,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.71039,
    "c": 0.14748,
    "h": 110.5
  },
  "luminance": 0.3669
}

Semantic roles & 50–950 ramp

primary
#A7A91F
secondary
#5F5DC7
accent
#3CEC3F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A91F

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

Preview Lab → · Contrast checker → · Palette generator →

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