#A8A438#A8A438

#A8A438 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.128 H 107.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A8A438
RGBrgb(168, 164, 56)
HSLhsl(58, 50%, 44%)
HSVhsv(58, 67%, 66%)
CMYKcmyk(0%, 2.4%, 66.7%, 34.1%)
CIE-LABlab(65.87, -11.95, 54.24)
CIE-LCHlch(65.87, 55.54, 102.43°)
OKLaboklab(70.17% -0.0378 0.1221)
OKLCHoklch(70.17% 0.128 107.2)
XYZxyz(30.1388, 35.1623, 8.9400)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A438 #383CA8
analogous
#A86C38 #A8A438 #74A838
triadic
#A8A438 #38A8A4 #A438A8
tetradic
#A8A438 #38A86C #383CA8 #A83874
square
#A8A438 #38A86C #383CA8 #A83874
split-complementary
#A8A438 #3874A8 #6C38A8
monochromatic
#4C4A19 #7A7729 #A8A438 #C7C356 #D6D384

Accessibility & contrast

On white

2.61
#A8A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A8A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A438
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A438#FFFFFF#000000##000000
##A8A4381.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a438;
/* rgb */ color: rgb(168, 164, 56);
/* oklch */ color: oklch(70.2% 0.128 107.2);
Tailwind
colors: {
  custom: {
    50: '#c5be75',
    500: '#a8a438',
    950: '#000000',
  },
}
SCSS
$custom: #a8a438;
$custom-light: #c5be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a438",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 57.857,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7017,
    "c": 0.12778,
    "h": 107.2
  },
  "luminance": 0.35161
}

Semantic roles & 50–950 ramp

primary
#A8A438
secondary
#7C7EC0
accent
#53DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A438

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

Preview Lab → · Contrast checker → · Palette generator →

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