#A8A834#A8A834

#A8A834 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.135 H 109.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A8A834
RGBrgb(168, 168, 52)
HSLhsl(60, 53%, 43%)
HSVhsv(60, 69%, 66%)
CMYKcmyk(0%, 0%, 69%, 34.1%)
CIE-LABlab(66.96, -14.26, 56.93)
CIE-LCHlch(66.96, 58.69, 104.06°)
OKLaboklab(71.03% -0.0447 0.1271)
OKLCHoklch(71.03% 0.135 109.4)
XYZxyz(30.7720, 36.5789, 8.6876)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A834 #3434A8
analogous
#A86E34 #A8A834 #6EA834
triadic
#A8A834 #34A8A8 #A834A8
tetradic
#A8A834 #34A86E #3434A8 #A8346E
square
#A8A834 #34A86E #3434A8 #A8346E
split-complementary
#A8A834 #346EA8 #6E34A8
monochromatic
#4B4B17 #797926 #A8A834 #C9C950 #D7D77F

Accessibility & contrast

On white

2.53
#A8A834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A8A834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A834
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A834#FFFFFF#000000##000000
##A8A8341.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A122
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#B49D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a834;
/* rgb */ color: rgb(168, 168, 52);
/* oklch */ color: oklch(71.0% 0.135 109.4);
Tailwind
colors: {
  custom: {
    50: '#c5c173',
    500: '#a8a834',
    950: '#000000',
  },
}
SCSS
$custom: #a8a834;
$custom-light: #c5c173;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a834",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 60,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71027,
    "c": 0.13471,
    "h": 109.4
  },
  "luminance": 0.36578
}

Semantic roles & 50–950 ramp

primary
#A8A834
secondary
#7777C0
accent
#4CDC4C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A834

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

Preview Lab → · Contrast checker → · Palette generator →

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