#A8A134#A8A134

#A8A134 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.128 H 105.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A8A134
RGBrgb(168, 161, 52)
HSLhsl(56, 53%, 43%)
HSVhsv(56, 69%, 66%)
CMYKcmyk(0%, 4.2%, 69%, 34.1%)
CIE-LABlab(65.01, -10.61, 54.98)
CIE-LCHlch(65.01, 56.00, 100.92°)
OKLaboklab(69.47% -0.0344 0.123)
OKLCHoklch(69.47% 0.128 105.7)
XYZxyz(29.5143, 34.0636, 8.2684)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A134 #343BA8
analogous
#A86734 #A8A134 #75A834
triadic
#A8A134 #34A8A1 #A134A8
tetradic
#A8A134 #34A867 #343BA8 #A83475
square
#A8A134 #34A867 #343BA8 #A83475
split-complementary
#A8A134 #3475A8 #6734A8
monochromatic
#4B4717 #797426 #A8A134 #C9C250 #D7D27F

Accessibility & contrast

On white

2.69
#A8A134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A8A134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A134
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A134#FFFFFF#000000##000000
##A8A1341.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B24
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a134;
/* rgb */ color: rgb(168, 161, 52);
/* oklch */ color: oklch(69.5% 0.128 105.7);
Tailwind
colors: {
  custom: {
    50: '#c5bc72',
    500: '#a8a134',
    950: '#000000',
  },
}
SCSS
$custom: #a8a134;
$custom-light: #c5bc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a134",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 56.379,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69474,
    "c": 0.12769,
    "h": 105.7
  },
  "luminance": 0.34063
}

Semantic roles & 50–950 ramp

primary
#A8A134
secondary
#777CC0
accent
#54DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A134

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

Preview Lab → · Contrast checker → · Palette generator →

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