#A8A334#A8A334

#A8A334 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#A8A334
RGBrgb(168, 163, 52)
HSLhsl(57, 53%, 43%)
HSVhsv(57, 69%, 66%)
CMYKcmyk(0%, 3%, 69%, 34.1%)
CIE-LABlab(65.57, -11.66, 55.54)
CIE-LCHlch(65.57, 56.75, 101.85°)
OKLaboklab(69.92% -0.0374 0.1241)
OKLCHoklch(69.92% 0.13 106.8)
XYZxyz(29.8666, 34.7682, 8.3858)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A334 #3439A8
analogous
#A86934 #A8A334 #73A834
triadic
#A8A334 #34A8A3 #A334A8
tetradic
#A8A334 #34A869 #3439A8 #A83473
square
#A8A334 #34A869 #3439A8 #A83473
split-complementary
#A8A334 #3473A8 #6934A8
monochromatic
#4B4817 #797626 #A8A334 #C9C450 #D7D47F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a8a334;
/* rgb */ color: rgb(168, 163, 52);
/* oklch */ color: oklch(69.9% 0.130 106.8);
Tailwind
colors: {
  custom: {
    50: '#c5be72',
    500: '#a8a334',
    950: '#000000',
  },
}
SCSS
$custom: #a8a334;
$custom-light: #c5be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a334",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 57.414,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69916,
    "c": 0.12964,
    "h": 106.8
  },
  "luminance": 0.34767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A334

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

Preview Lab → · Contrast checker → · Palette generator →

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