#A8A837#A8A837

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

Color values

HEX#A8A837
RGBrgb(168, 168, 55)
HSLhsl(60, 51%, 44%)
HSVhsv(60, 67%, 66%)
CMYKcmyk(0%, 0%, 67.3%, 34.1%)
CIE-LABlab(66.98, -14.09, 55.77)
CIE-LCHlch(66.98, 57.52, 104.18°)
OKLaboklab(71.05% -0.0439 0.1251)
OKLCHoklch(71.05% 0.133 109.3)
XYZxyz(30.8417, 36.6068, 9.0549)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A837 #3737A8
analogous
#A86F37 #A8A837 #6FA837
triadic
#A8A837 #37A8A8 #A837A8
tetradic
#A8A837 #37A86F #3737A8 #A8376F
square
#A8A837 #37A86F #3737A8 #A8376F
split-complementary
#A8A837 #376FA8 #6F37A8
monochromatic
#4C4C19 #7A7A28 #A8A837 #C7C755 #D6D683

Accessibility & contrast

On white

2.52
#A8A837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A837#FFFFFF#000000##000000
##A8A8371.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a837;
/* rgb */ color: rgb(168, 168, 55);
/* oklch */ color: oklch(71.0% 0.133 109.3);
Tailwind
colors: {
  custom: {
    50: '#c5c174',
    500: '#a8a837',
    950: '#000000',
  },
}
SCSS
$custom: #a8a837;
$custom-light: #c5c174;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a837",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7105,
    "c": 0.13262,
    "h": 109.3
  },
  "luminance": 0.36606
}

Semantic roles & 50–950 ramp

primary
#A8A837
secondary
#7B7BC0
accent
#4EDA4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A837

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

Preview Lab → · Contrast checker → · Palette generator →

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