#A8A037#A8A037

#A8A037 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.125 H 105.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A8A037
RGBrgb(168, 160, 55)
HSLhsl(56, 51%, 44%)
HSVhsv(56, 67%, 66%)
CMYKcmyk(0%, 4.8%, 67.3%, 34.1%)
CIE-LABlab(64.76, -9.91, 53.50)
CIE-LCHlch(64.76, 54.41, 100.49°)
OKLaboklab(69.28% -0.0321 0.1203)
OKLCHoklch(69.28% 0.125 105)
XYZxyz(29.4100, 33.7434, 8.5776)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A037 #373FA8
analogous
#A86737 #A8A037 #77A837
triadic
#A8A037 #37A8A0 #A037A8
tetradic
#A8A037 #37A867 #373FA8 #A83777
square
#A8A037 #37A867 #373FA8 #A83777
split-complementary
#A8A037 #3777A8 #6737A8
monochromatic
#4C4819 #7A7428 #A8A037 #C7BF55 #D6D083

Accessibility & contrast

On white

2.71
#A8A037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A8A037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A037
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A037#FFFFFF#000000##000000
##A8A0371.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A29
Deuteranopia (green-blind)
#B19F3E
Tritanopia (blue-blind)
#B4958B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a037;
/* rgb */ color: rgb(168, 160, 55);
/* oklch */ color: oklch(69.3% 0.125 105.0);
Tailwind
colors: {
  custom: {
    50: '#c5bb74',
    500: '#a8a037',
    950: '#000000',
  },
}
SCSS
$custom: #a8a037;
$custom-light: #c5bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a037",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 55
  },
  "hsl": {
    "h": 55.752,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69279,
    "c": 0.12456,
    "h": 105
  },
  "luminance": 0.33742
}

Semantic roles & 50–950 ramp

primary
#A8A037
secondary
#7B80C0
accent
#58DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A8A037

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

Preview Lab → · Contrast checker → · Palette generator →

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