#A8A62F#A8A62F

#A8A62F is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.5% C 0.136 H 108.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A8A62F
RGBrgb(168, 166, 47)
HSLhsl(59, 56%, 42%)
HSVhsv(59, 72%, 66%)
CMYKcmyk(0%, 1.2%, 72%, 34.1%)
CIE-LABlab(66.37, -13.48, 58.24)
CIE-LCHlch(66.37, 59.78, 103.03°)
OKLaboklab(70.55% -0.043 0.1289)
OKLCHoklch(70.55% 0.136 108.5)
XYZxyz(30.2989, 35.8035, 8.0035)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A62F #2F31A8
analogous
#A8692F #A8A62F #6EA82F
triadic
#A8A62F #2FA8A6 #A62FA8
tetradic
#A8A62F #2FA869 #2F31A8 #A82F6E
square
#A8A62F #2FA869 #2F31A8 #A82F6E
split-complementary
#A8A62F #2F6EA8 #692FA8
monochromatic
#484714 #787722 #A8A62F #CCCA48 #D9D878

Accessibility & contrast

On white

2.57
#A8A62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A8A62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A62F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A62F#FFFFFF#000000##000000
##A8A62F1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1A
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#B49B8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a62f;
/* rgb */ color: rgb(168, 166, 47);
/* oklch */ color: oklch(70.5% 0.136 108.5);
Tailwind
colors: {
  custom: {
    50: '#c5c070',
    500: '#a8a62f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a62f;
$custom-light: #c5c070;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a62f",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 59.008,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70545,
    "c": 0.13593,
    "h": 108.5
  },
  "luminance": 0.35803
}

Semantic roles & 50–950 ramp

primary
#A8A62F
secondary
#7173C1
accent
#4BE048
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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