#A7AA1C#A7AA1C

#A7AA1C is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.3% C 0.150 H 111.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#A7AA1C
RGBrgb(167, 170, 28)
HSLhsl(61, 72%, 39%)
HSVhsv(61, 84%, 67%)
CMYKcmyk(1.8%, 0%, 83.5%, 33.3%)
CIE-LABlab(67.31, -16.72, 64.92)
CIE-LCHlch(67.31, 67.03, 104.44°)
OKLaboklab(71.25% -0.0536 0.1398)
OKLCHoklch(71.25% 0.15 111)
XYZxyz(30.5218, 37.0496, 6.6419)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA1C #1F1CAA
analogous
#AA661C #A7AA1C #60AA1C
triadic
#A7AA1C #1CA7AA #AA1CA7
tetradic
#A7AA1C #1CAA66 #1F1CAA #AA1C60
square
#A7AA1C #1CAA66 #1F1CAA #AA1C60
split-complementary
#A7AA1C #1C60AA #661CAA
monochromatic
#40410B #737513 #A7AA1C #D8DC28 #E1E45C

Accessibility & contrast

On white

2.50
#A7AA1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#A7AA1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA1C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA1C#FFFFFF#000000##000000
##A7AA1C1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B9A62B
Tritanopia (blue-blind)
#B39F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a7aa1c;
/* rgb */ color: rgb(167, 170, 28);
/* oklch */ color: oklch(71.3% 0.150 111.0);
Tailwind
colors: {
  custom: {
    50: '#c5c368',
    500: '#a7aa1c',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa1c;
$custom-light: #c5c368;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa1c",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 28
  },
  "hsl": {
    "h": 61.268,
    "s": 71.717,
    "l": 38.824
  },
  "oklch": {
    "l": 0.71251,
    "c": 0.14967,
    "h": 111
  },
  "luminance": 0.37049
}

Semantic roles & 50–950 ramp

primary
#A7AA1C
secondary
#5C5AC8
accent
#39EE3D
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AA1C

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

Preview Lab → · Contrast checker → · Palette generator →

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