#A8A751#A8A751

#A8A751 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.1% C 0.109 H 108.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A8A751
RGBrgb(168, 167, 81)
HSLhsl(59, 35%, 49%)
HSVhsv(59, 52%, 66%)
CMYKcmyk(0%, 0.6%, 51.8%, 34.1%)
CIE-LABlab(66.94, -11.67, 44.07)
CIE-LCHlch(66.94, 45.58, 104.84°)
OKLaboklab(71.1% -0.0342 0.1037)
OKLCHoklch(71.1% 0.109 108.3)
XYZxyz(31.4531, 36.5571, 13.1824)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A751 #5152A8
analogous
#A87C51 #A8A751 #7EA851
triadic
#A8A751 #51A8A7 #A751A8
tetradic
#A8A751 #51A87C #5152A8 #A8517E
square
#A8A751 #51A87C #5152A8 #A8517E
split-complementary
#A8A751 #517EA8 #7C51A8
monochromatic
#555529 #7F7E3D #A8A751 #BEBD78 #D2D1A1

Accessibility & contrast

On white

2.53
#A8A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A8A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A751
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A751#FFFFFF#000000##000000
##A8A7511.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#B4A455
Tritanopia (blue-blind)
#B29E94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a751;
/* rgb */ color: rgb(168, 167, 81);
/* oklch */ color: oklch(71.1% 0.109 108.3);
Tailwind
colors: {
  custom: {
    50: '#c4c184',
    500: '#a8a751',
    950: '#000000',
  },
}
SCSS
$custom: #a8a751;
$custom-light: #c4c184;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a751",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 59.31,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71098,
    "c": 0.10917,
    "h": 108.3
  },
  "luminance": 0.36556
}

Semantic roles & 50–950 ramp

primary
#A8A751
secondary
#9696BF
accent
#5ECB5D
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A751

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

Preview Lab → · Contrast checker → · Palette generator →

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