#A8A434#A8A434

#A8A434 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.131 H 107.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A8A434
RGBrgb(168, 164, 52)
HSLhsl(58, 53%, 43%)
HSVhsv(58, 69%, 66%)
CMYKcmyk(0%, 2.4%, 69%, 34.1%)
CIE-LABlab(65.85, -12.18, 55.82)
CIE-LCHlch(65.85, 57.13, 102.31°)
OKLaboklab(70.14% -0.0389 0.1247)
OKLCHoklch(70.14% 0.131 107.3)
XYZxyz(30.0448, 35.1247, 8.4452)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A434 #3438A8
analogous
#A86A34 #A8A434 #72A834
triadic
#A8A434 #34A8A4 #A434A8
tetradic
#A8A434 #34A86A #3438A8 #A83472
square
#A8A434 #34A86A #3438A8 #A83472
split-complementary
#A8A434 #3472A8 #6A34A8
monochromatic
#4B4917 #797626 #A8A434 #C9C550 #D7D47F

Accessibility & contrast

On white

2.62
#A8A434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A8A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A434
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A434#FFFFFF#000000##000000
##A8A4341.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#B4998E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a434;
/* rgb */ color: rgb(168, 164, 52);
/* oklch */ color: oklch(70.1% 0.131 107.3);
Tailwind
colors: {
  custom: {
    50: '#c5be72',
    500: '#a8a434',
    950: '#000000',
  },
}
SCSS
$custom: #a8a434;
$custom-light: #c5be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a434",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 57.931,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70138,
    "c": 0.13064,
    "h": 107.3
  },
  "luminance": 0.35124
}

Semantic roles & 50–950 ramp

primary
#A8A434
secondary
#777AC0
accent
#51DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A434

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

Preview Lab → · Contrast checker → · Palette generator →

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