#A8A330#A8A330

#A8A330 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.132 H 106.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A8A330
RGBrgb(168, 163, 48)
HSLhsl(58, 56%, 42%)
HSVhsv(58, 71%, 66%)
CMYKcmyk(0%, 3%, 71.4%, 34.1%)
CIE-LABlab(65.54, -11.87, 57.06)
CIE-LCHlch(65.54, 58.28, 101.75°)
OKLaboklab(69.89% -0.0384 0.1266)
OKLCHoklch(69.89% 0.132 106.9)
XYZxyz(29.7803, 34.7336, 7.9313)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A330 #3035A8
analogous
#A86730 #A8A330 #71A830
triadic
#A8A330 #30A8A3 #A330A8
tetradic
#A8A330 #30A867 #3035A8 #A83071
square
#A8A330 #30A867 #3035A8 #A83071
split-complementary
#A8A330 #3071A8 #6730A8
monochromatic
#494715 #787522 #A8A330 #CBC64A #D9D57A

Accessibility & contrast

On white

2.64
#A8A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A8A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A330
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A330#FFFFFF#000000##000000
##A8A3301.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#B4988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a330;
/* rgb */ color: rgb(168, 163, 48);
/* oklch */ color: oklch(69.9% 0.132 106.9);
Tailwind
colors: {
  custom: {
    50: '#c5be70',
    500: '#a8a330',
    950: '#000000',
  },
}
SCSS
$custom: #a8a330;
$custom-light: #c5be70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a330",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 57.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69886,
    "c": 0.13233,
    "h": 106.9
  },
  "luminance": 0.34733
}

Semantic roles & 50–950 ramp

primary
#A8A330
secondary
#7376C1
accent
#4FDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A330

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

Preview Lab → · Contrast checker → · Palette generator →

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