#A7A730#A7A730

#A7A730 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.137 H 109.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A7A730
RGBrgb(167, 167, 48)
HSLhsl(60, 55%, 42%)
HSVhsv(60, 71%, 65%)
CMYKcmyk(0%, 0%, 71.3%, 34.5%)
CIE-LABlab(66.57, -14.39, 58.04)
CIE-LCHlch(66.57, 59.79, 103.92°)
OKLaboklab(70.69% -0.0454 0.1287)
OKLCHoklch(70.69% 0.137 109.4)
XYZxyz(30.2896, 36.0672, 8.1618)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A730 #3030A7
analogous
#A76C30 #A7A730 #6CA730
triadic
#A7A730 #30A7A7 #A730A7
tetradic
#A7A730 #30A76C #3030A7 #A7306C
square
#A7A730 #30A76C #3030A7 #A7306C
split-complementary
#A7A730 #306CA7 #6C30A7
monochromatic
#484815 #777722 #A7A730 #CBCB49 #D8D879

Accessibility & contrast

On white

2.56
#A7A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A7A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A730
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A730#FFFFFF#000000##000000
##A7A7301.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#B39C90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a7a730;
/* rgb */ color: rgb(167, 167, 48);
/* oklch */ color: oklch(70.7% 0.137 109.4);
Tailwind
colors: {
  custom: {
    50: '#c4c071',
    500: '#a7a730',
    950: '#000000',
  },
}
SCSS
$custom: #a7a730;
$custom-light: #c4c071;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a730",
  "rgb": {
    "r": 167,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70688,
    "c": 0.13651,
    "h": 109.4
  },
  "luminance": 0.36066
}

Semantic roles & 50–950 ramp

primary
#A7A730
secondary
#7272C1
accent
#49DF49
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A730

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

Preview Lab → · Contrast checker → · Palette generator →

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