#A7A030#A7A030

#A7A030 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.130 H 105.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A7A030
RGBrgb(167, 160, 48)
HSLhsl(56, 55%, 42%)
HSVhsv(56, 71%, 65%)
CMYKcmyk(0%, 4.2%, 71.3%, 34.5%)
CIE-LABlab(64.62, -10.74, 56.13)
CIE-LCHlch(64.62, 57.15, 100.83°)
OKLaboklab(69.13% -0.0352 0.1247)
OKLCHoklch(69.13% 0.13 105.8)
XYZxyz(29.0418, 33.5716, 7.7459)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A030 #3037A7
analogous
#A76530 #A7A030 #72A730
triadic
#A7A030 #30A7A0 #A030A7
tetradic
#A7A030 #30A765 #3037A7 #A73072
square
#A7A030 #30A765 #3037A7 #A73072
split-complementary
#A7A030 #3072A7 #6530A7
monochromatic
#484515 #777222 #A7A030 #CBC349 #D8D379

Accessibility & contrast

On white

2.72
#A7A030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A7A030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A030
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A030#FFFFFF#000000##000000
##A7A0301.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#B3958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a030;
/* rgb */ color: rgb(167, 160, 48);
/* oklch */ color: oklch(69.1% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#c4bb70',
    500: '#a7a030',
    950: '#000000',
  },
}
SCSS
$custom: #a7a030;
$custom-light: #c4bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a030",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 48
  },
  "hsl": {
    "h": 56.471,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69132,
    "c": 0.12956,
    "h": 105.8
  },
  "luminance": 0.33571
}

Semantic roles & 50–950 ramp

primary
#A7A030
secondary
#7277C1
accent
#52DF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A7A030

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

Preview Lab → · Contrast checker → · Palette generator →

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