#A8A740#A8A740

#A8A740 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.125 H 108.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A8A740
RGBrgb(168, 167, 64)
HSLhsl(59, 45%, 45%)
HSVhsv(59, 62%, 66%)
CMYKcmyk(0%, 0.6%, 61.9%, 34.1%)
CIE-LABlab(66.77, -13.00, 51.78)
CIE-LCHlch(66.77, 53.38, 104.10°)
OKLaboklab(70.91% -0.0399 0.1181)
OKLCHoklch(70.91% 0.125 108.7)
XYZxyz(30.8935, 36.3333, 10.2351)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A740 #4041A8
analogous
#A87340 #A8A740 #75A840
triadic
#A8A740 #40A8A7 #A740A8
tetradic
#A8A740 #40A873 #4041A8 #A84075
square
#A8A740 #40A873 #4041A8 #A84075
split-complementary
#A8A740 #4075A8 #7340A8
monochromatic
#4F4F1E #7C7B2F #A8A740 #C3C262 #D4D38E

Accessibility & contrast

On white

2.54
#A8A740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#A8A740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A740
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A740#FFFFFF#000000##000000
##A8A7401.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A034
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#B39D91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a740;
/* rgb */ color: rgb(168, 167, 64);
/* oklch */ color: oklch(70.9% 0.125 108.7);
Tailwind
colors: {
  custom: {
    50: '#c4c07a',
    500: '#a8a740',
    950: '#000000',
  },
}
SCSS
$custom: #a8a740;
$custom-light: #c4c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a740",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 59.423,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70908,
    "c": 0.12466,
    "h": 108.7
  },
  "luminance": 0.36332
}

Semantic roles & 50–950 ramp

primary
#A8A740
secondary
#8585BF
accent
#55D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A740

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

Preview Lab → · Contrast checker → · Palette generator →

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