#A7A830#A7A830

#A7A830 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.138 H 109.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A7A830
RGBrgb(167, 168, 48)
HSLhsl(61, 56%, 42%)
HSVhsv(61, 71%, 66%)
CMYKcmyk(0.6%, 0%, 71.4%, 34.1%)
CIE-LABlab(66.85, -14.90, 58.31)
CIE-LCHlch(66.85, 60.18, 104.34°)
OKLaboklab(70.91% -0.0469 0.1293)
OKLCHoklch(70.91% 0.138 109.9)
XYZxyz(30.4735, 36.4350, 8.2231)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A830 #3130A8
analogous
#A86D30 #A7A830 #6BA830
triadic
#A7A830 #30A7A8 #A830A7
tetradic
#A7A830 #30A86D #3130A8 #A8306B
square
#A7A830 #30A86D #3130A8 #A8306B
split-complementary
#A7A830 #306BA8 #6D30A8
monochromatic
#484915 #787822 #A7A830 #CACB4A #D8D97A

Accessibility & contrast

On white

2.53
#A7A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A7A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A830
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A830#FFFFFF#000000##000000
##A7A8301.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#B39D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a830;
/* rgb */ color: rgb(167, 168, 48);
/* oklch */ color: oklch(70.9% 0.138 109.9);
Tailwind
colors: {
  custom: {
    50: '#c4c171',
    500: '#a7a830',
    950: '#000000',
  },
}
SCSS
$custom: #a7a830;
$custom-light: #c4c171;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a830",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 60.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70911,
    "c": 0.13753,
    "h": 109.9
  },
  "luminance": 0.36434
}

Semantic roles & 50–950 ramp

primary
#A7A830
secondary
#7373C1
accent
#49DF4A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A830

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

Preview Lab → · Contrast checker → · Palette generator →

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