#A6A730#A6A730

#A6A730 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.137 H 109.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A6A730
RGBrgb(166, 167, 48)
HSLhsl(61, 55%, 42%)
HSVhsv(61, 71%, 65%)
CMYKcmyk(0.6%, 0%, 71.3%, 34.5%)
CIE-LABlab(66.49, -14.82, 57.93)
CIE-LCHlch(66.49, 59.79, 104.35°)
OKLaboklab(70.6% -0.0466 0.1285)
OKLCHoklch(70.6% 0.137 109.9)
XYZxyz(30.0791, 35.9587, 8.1520)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A730 #3130A7
analogous
#A76C30 #A6A730 #6BA730
triadic
#A6A730 #30A6A7 #A730A6
tetradic
#A6A730 #30A76C #3130A7 #A7306B
square
#A6A730 #30A76C #3130A7 #A7306B
split-complementary
#A6A730 #306BA7 #6C30A7
monochromatic
#474815 #777722 #A6A730 #CACB49 #D8D879

Accessibility & contrast

On white

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

On black

8.19
#A6A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A730
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A730#FFFFFF#000000##000000
##A6A7301.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01B
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#B29C90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a6a730;
/* rgb */ color: rgb(166, 167, 48);
/* oklch */ color: oklch(70.6% 0.137 109.9);
Tailwind
colors: {
  custom: {
    50: '#c4c071',
    500: '#a6a730',
    950: '#000000',
  },
}
SCSS
$custom: #a6a730;
$custom-light: #c4c071;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a730",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 60.504,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70601,
    "c": 0.13671,
    "h": 109.9
  },
  "luminance": 0.35958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6A730

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

Preview Lab → · Contrast checker → · Palette generator →

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