#A8AF77#A8AF77

#A8AF77 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.076 H 114.1°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A8AF77
RGBrgb(168, 175, 119)
HSLhsl(68, 26%, 58%)
HSVhsv(68, 32%, 69%)
CMYKcmyk(4%, 0%, 32%, 31.4%)
CIE-LABlab(69.69, -11.65, 27.96)
CIE-LCHlch(69.69, 30.29, 112.62°)
OKLaboklab(73.46% -0.0311 0.0696)
OKLCHoklch(73.46% 0.076 114.1)
XYZxyz(34.8082, 40.3170, 23.3974)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF77 #7E77AF
analogous
#AF9A77 #A8AF77 #8CAF77
triadic
#A8AF77 #77A8AF #AF77A8
tetradic
#A8AF77 #77AF9A #7E77AF #AF778C
square
#A8AF77 #77AF9A #7E77AF #AF778C
split-complementary
#A8AF77 #778CAF #9A77AF
monochromatic
#666C40 #8B9356 #A8AF77 #C1C69E #D9DCC4

Accessibility & contrast

On white

2.32
#A8AF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A8AF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF77
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF77#FFFFFF#000000##000000
##A8AF771.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA73
Deuteranopia (green-blind)
#B7AB79
Tritanopia (blue-blind)
#AEA9A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8af77;
/* rgb */ color: rgb(168, 175, 119);
/* oklch */ color: oklch(73.5% 0.076 114.1);
Tailwind
colors: {
  custom: {
    50: '#c2c69e',
    500: '#a8af77',
    950: '#000000',
  },
}
SCSS
$custom: #a8af77;
$custom-light: #c2c69e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af77",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 119
  },
  "hsl": {
    "h": 67.5,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.0762,
    "h": 114.1
  },
  "luminance": 0.40317
}

Semantic roles & 50–950 ramp

primary
#A8AF77
secondary
#B8B6CC
accent
#65C271
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A8AF77

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

Preview Lab → · Contrast checker → · Palette generator →

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