#A8A730#A8A730

#A8A730 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.136 H 108.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A8A730
RGBrgb(168, 167, 48)
HSLhsl(60, 56%, 42%)
HSVhsv(60, 71%, 66%)
CMYKcmyk(0%, 0.6%, 71.4%, 34.1%)
CIE-LABlab(66.65, -13.95, 58.15)
CIE-LCHlch(66.65, 59.80, 103.49°)
OKLaboklab(70.78% -0.0443 0.1289)
OKLCHoklch(70.78% 0.136 108.9)
XYZxyz(30.5018, 36.1766, 8.1718)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A730 #3031A8
analogous
#A86B30 #A8A730 #6DA830
triadic
#A8A730 #30A8A7 #A730A8
tetradic
#A8A730 #30A86B #3031A8 #A8306D
square
#A8A730 #30A86B #3031A8 #A8306D
split-complementary
#A8A730 #306DA8 #6B30A8
monochromatic
#494815 #787822 #A8A730 #CBCA4A #D9D87A

Accessibility & contrast

On white

2.55
#A8A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#A8A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A730
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A730#FFFFFF#000000##000000
##A8A7301.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a730;
/* rgb */ color: rgb(168, 167, 48);
/* oklch */ color: oklch(70.8% 0.136 108.9);
Tailwind
colors: {
  custom: {
    50: '#c5c071',
    500: '#a8a730',
    950: '#000000',
  },
}
SCSS
$custom: #a8a730;
$custom-light: #c5c071;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a730",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 59.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70775,
    "c": 0.13631,
    "h": 108.9
  },
  "luminance": 0.36176
}

Semantic roles & 50–950 ramp

primary
#A8A730
secondary
#7373C1
accent
#4ADF49
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A730

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

Preview Lab → · Contrast checker → · Palette generator →

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