#A8A333#A8A333

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

Color values

HEX#A8A333
RGBrgb(168, 163, 51)
HSLhsl(57, 53%, 43%)
HSVhsv(57, 70%, 66%)
CMYKcmyk(0%, 3%, 69.6%, 34.1%)
CIE-LABlab(65.56, -11.71, 55.93)
CIE-LCHlch(65.56, 57.14, 101.83°)
OKLaboklab(69.91% -0.0377 0.1248)
OKLCHoklch(69.91% 0.13 106.8)
XYZxyz(29.8443, 34.7593, 8.2685)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A333 #3338A8
analogous
#A86833 #A8A333 #72A833
triadic
#A8A333 #33A8A3 #A333A8
tetradic
#A8A333 #33A868 #3338A8 #A83372
square
#A8A333 #33A868 #3338A8 #A83372
split-complementary
#A8A333 #3372A8 #6833A8
monochromatic
#4A4816 #797525 #A8A333 #C9C44F #D8D47E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A333#FFFFFF#000000##000000
##A8A3331.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)
#B19D22
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a333;
/* rgb */ color: rgb(168, 163, 51);
/* oklch */ color: oklch(69.9% 0.130 106.8);
Tailwind
colors: {
  custom: {
    50: '#c5be72',
    500: '#a8a333',
    950: '#000000',
  },
}
SCSS
$custom: #a8a333;
$custom-light: #c5be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a333",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 57.436,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.13034,
    "h": 106.8
  },
  "luminance": 0.34758
}

Semantic roles & 50–950 ramp

primary
#A8A333
secondary
#7679C1
accent
#51DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A333

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

Preview Lab → · Contrast checker → · Palette generator →

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