#AFAA70#AFAA70

#AFAA70 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.078 H 103.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AFAA70
RGBrgb(175, 170, 112)
HSLhsl(55, 28%, 56%)
HSVhsv(55, 36%, 69%)
CMYKcmyk(0%, 2.9%, 36%, 31.4%)
CIE-LABlab(68.78, -7.10, 30.58)
CIE-LCHlch(68.78, 31.39, 103.08°)
OKLaboklab(72.83% -0.0187 0.0754)
OKLCHoklch(72.83% 0.078 103.9)
XYZxyz(34.9790, 39.0341, 21.0178)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA70 #7075AF
analogous
#AF8B70 #AFAA70 #95AF70
triadic
#AFAA70 #70AFAA #AA70AF
tetradic
#AFAA70 #70AF8B #7075AF #AF7095
square
#AFAA70 #70AF8B #7075AF #AF7095
split-complementary
#AFAA70 #7095AF #8B70AF
monochromatic
#6A663B #918C51 #AFAA70 #C5C197 #DBD9BE

Accessibility & contrast

On white

2.38
#AFAA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AFAA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA70
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA70#FFFFFF#000000##000000
##AFAA701.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A66C
Deuteranopia (green-blind)
#B6A972
Tritanopia (blue-blind)
#B8A39B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa70;
/* rgb */ color: rgb(175, 170, 112);
/* oklch */ color: oklch(72.8% 0.078 103.9);
Tailwind
colors: {
  custom: {
    50: '#c8c399',
    500: '#afaa70',
    950: '#000000',
  },
}
SCSS
$custom: #afaa70;
$custom-light: #c8c399;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa70",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 112
  },
  "hsl": {
    "h": 55.238,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.72834,
    "c": 0.07771,
    "h": 103.9
  },
  "luminance": 0.39033
}

Semantic roles & 50–950 ramp

primary
#AFAA70
secondary
#B0B2CA
accent
#6BC563
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA70

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

Preview Lab → · Contrast checker → · Palette generator →

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