#A8A337#A8A337

#A8A337 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.128 H 106.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A8A337
RGBrgb(168, 163, 55)
HSLhsl(57, 51%, 44%)
HSVhsv(57, 67%, 66%)
CMYKcmyk(0%, 3%, 67.3%, 34.1%)
CIE-LABlab(65.59, -11.49, 54.35)
CIE-LCHlch(65.59, 55.56, 101.93°)
OKLaboklab(69.94% -0.0366 0.1221)
OKLCHoklch(69.94% 0.128 106.7)
XYZxyz(29.9363, 34.7961, 8.7531)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A337 #373CA8
analogous
#A86A37 #A8A337 #74A837
triadic
#A8A337 #37A8A3 #A337A8
tetradic
#A8A337 #37A86A #373CA8 #A83774
square
#A8A337 #37A86A #373CA8 #A83774
split-complementary
#A8A337 #3774A8 #6A37A8
monochromatic
#4C4A19 #7A7628 #A8A337 #C7C255 #D6D383

Accessibility & contrast

On white

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

On black

7.96
#A8A337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A337
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A337#FFFFFF#000000##000000
##A8A3371.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D28
Deuteranopia (green-blind)
#B3A13E
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a337;
/* rgb */ color: rgb(168, 163, 55);
/* oklch */ color: oklch(69.9% 0.128 106.7);
Tailwind
colors: {
  custom: {
    50: '#c5be74',
    500: '#a8a337',
    950: '#000000',
  },
}
SCSS
$custom: #a8a337;
$custom-light: #c5be74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a337",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 57.345,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.12751,
    "h": 106.7
  },
  "luminance": 0.34795
}

Semantic roles & 50–950 ramp

primary
#A8A337
secondary
#7B7EC0
accent
#54DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A337

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

Preview Lab → · Contrast checker → · Palette generator →

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