#A8AF7C#A8AF7C

#A8AF7C is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.070 H 114.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A8AF7C
RGBrgb(168, 175, 124)
HSLhsl(68, 24%, 59%)
HSVhsv(68, 29%, 69%)
CMYKcmyk(4%, 0%, 29.1%, 31.4%)
CIE-LABlab(69.78, -10.97, 25.40)
CIE-LCHlch(69.78, 27.67, 113.36°)
OKLaboklab(73.56% -0.029 0.0636)
OKLCHoklch(73.56% 0.07 114.5)
XYZxyz(35.1164, 40.4403, 25.0207)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF7C #837CAF
analogous
#AF9C7C #A8AF7C #8EAF7C
triadic
#A8AF7C #7CA8AF #AF7CA8
tetradic
#A8AF7C #7CAF9C #837CAF #AF7C8E
square
#A8AF7C #7CAF9C #837CAF #AF7C8E
split-complementary
#A8AF7C #7C8EAF #9C7CAF
monochromatic
#686E43 #8C945A #A8AF7C #C1C6A2 #DADDC8

Accessibility & contrast

On white

2.31
#A8AF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A8AF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF7C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF7C#FFFFFF#000000##000000
##A8AF7C1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA79
Deuteranopia (green-blind)
#B6AB7E
Tritanopia (blue-blind)
#AEA9A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8af7c;
/* rgb */ color: rgb(168, 175, 124);
/* oklch */ color: oklch(73.6% 0.070 114.5);
Tailwind
colors: {
  custom: {
    50: '#c2c6a2',
    500: '#a8af7c',
    950: '#000000',
  },
}
SCSS
$custom: #a8af7c;
$custom-light: #c2c6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af7c",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 124
  },
  "hsl": {
    "h": 68.235,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.73561,
    "c": 0.06994,
    "h": 114.5
  },
  "luminance": 0.4044
}

Semantic roles & 50–950 ramp

primary
#A8AF7C
secondary
#BCB9CD
accent
#67C173
background
#FCFCFA
surface
#F8F8F3
border
#D1D1CD
text
#12130F
muted
#81827F

Preview Lab

Preview with #A8AF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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