#A7AF4E#A7AF4E

#A7AF4E is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.8% C 0.122 H 113.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#A7AF4E
RGBrgb(167, 175, 78)
HSLhsl(65, 38%, 50%)
HSVhsv(65, 55%, 69%)
CMYKcmyk(4.6%, 0%, 55.4%, 31.4%)
CIE-LABlab(69.06, -16.49, 47.93)
CIE-LCHlch(69.06, 50.68, 108.98°)
OKLaboklab(72.76% -0.0482 0.1117)
OKLCHoklch(72.76% 0.122 113.3)
XYZxyz(32.6421, 39.4261, 13.0967)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF4E #564EAF
analogous
#AF864E #A7AF4E #77AF4E
triadic
#A7AF4E #4EA7AF #AF4EA7
tetradic
#A7AF4E #4EAF86 #564EAF #AF4E77
square
#A7AF4E #4EAF86 #564EAF #AF4E77
split-complementary
#A7AF4E #4E77AF #864EAF
monochromatic
#565A28 #7F853B #A7AF4E #BCC378 #D1D6A2

Accessibility & contrast

On white

2.36
#A7AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#A7AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF4E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF4E#FFFFFF#000000##000000
##A7AF4E1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA744
Deuteranopia (green-blind)
#BAAA54
Tritanopia (blue-blind)
#B1A69A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7af4e;
/* rgb */ color: rgb(167, 175, 78);
/* oklch */ color: oklch(72.8% 0.122 113.3);
Tailwind
colors: {
  custom: {
    50: '#c3c683',
    500: '#a7af4e',
    950: '#000000',
  },
}
SCSS
$custom: #a7af4e;
$custom-light: #c3c683;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af4e",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 64.948,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72755,
    "c": 0.12164,
    "h": 113.3
  },
  "luminance": 0.39425
}

Semantic roles & 50–950 ramp

primary
#A7AF4E
secondary
#9A96C3
accent
#5ACE63
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A7AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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