#A6A830#A6A830

#A6A830 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.138 H 110.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A6A830
RGBrgb(166, 168, 48)
HSLhsl(61, 56%, 42%)
HSVhsv(61, 71%, 66%)
CMYKcmyk(1.2%, 0%, 71.4%, 34.1%)
CIE-LABlab(66.77, -15.34, 58.20)
CIE-LCHlch(66.77, 60.19, 104.76°)
OKLaboklab(70.83% -0.048 0.1291)
OKLCHoklch(70.83% 0.138 110.4)
XYZxyz(30.2630, 36.3265, 8.2133)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A830 #3230A8
analogous
#A86E30 #A6A830 #6AA830
triadic
#A6A830 #30A6A8 #A830A6
tetradic
#A6A830 #30A86E #3230A8 #A8306A
square
#A6A830 #30A86E #3230A8 #A8306A
split-complementary
#A6A830 #306AA8 #6E30A8
monochromatic
#484915 #777822 #A6A830 #C9CB4A #D7D97A

Accessibility & contrast

On white

2.54
#A6A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#A6A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A830
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A830#FFFFFF#000000##000000
##A6A8301.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a830;
/* rgb */ color: rgb(166, 168, 48);
/* oklch */ color: oklch(70.8% 0.138 110.4);
Tailwind
colors: {
  custom: {
    50: '#c4c171',
    500: '#a6a830',
    950: '#000000',
  },
}
SCSS
$custom: #a6a830;
$custom-light: #c4c171;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a830",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 61,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70825,
    "c": 0.13775,
    "h": 110.4
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#A6A830
secondary
#7473C1
accent
#49DF4B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A830

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

Preview Lab → · Contrast checker → · Palette generator →

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