#A8A937#A8A937

#A8A937 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.3% C 0.134 H 109.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A8A937
RGBrgb(168, 169, 55)
HSLhsl(61, 51%, 44%)
HSVhsv(61, 67%, 66%)
CMYKcmyk(0.6%, 0%, 67.5%, 33.7%)
CIE-LABlab(67.26, -14.61, 56.06)
CIE-LCHlch(67.26, 57.93, 104.60°)
OKLaboklab(71.27% -0.0454 0.1257)
OKLCHoklch(71.27% 0.134 109.9)
XYZxyz(31.0270, 36.9775, 9.1166)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A937 #3837A9
analogous
#A97137 #A8A937 #6FA937
triadic
#A8A937 #37A8A9 #A937A8
tetradic
#A8A937 #37A971 #3837A9 #A9376F
square
#A8A937 #37A971 #3837A9 #A9376F
split-complementary
#A8A937 #376FA9 #7137A9
monochromatic
#4C4D19 #7A7B28 #A8A937 #C7C855 #D6D784

Accessibility & contrast

On white

2.50
#A8A937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A8A937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A937
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A937#FFFFFF#000000##000000
##A8A9371.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A226
Deuteranopia (green-blind)
#B8A53F
Tritanopia (blue-blind)
#B49E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a937;
/* rgb */ color: rgb(168, 169, 55);
/* oklch */ color: oklch(71.3% 0.134 109.9);
Tailwind
colors: {
  custom: {
    50: '#c5c275',
    500: '#a8a937',
    950: '#000000',
  },
}
SCSS
$custom: #a8a937;
$custom-light: #c5c275;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a937",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 60.526,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71273,
    "c": 0.13367,
    "h": 109.9
  },
  "luminance": 0.36977
}

Semantic roles & 50–950 ramp

primary
#A8A937
secondary
#7C7BC0
accent
#4DDA4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A937

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

Preview Lab → · Contrast checker → · Palette generator →

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