#AFAA67#AFAA67

#AFAA67 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.088 H 104.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#AFAA67
RGBrgb(175, 170, 103)
HSLhsl(56, 31%, 55%)
HSVhsv(56, 41%, 69%)
CMYKcmyk(0%, 2.9%, 41.1%, 31.4%)
CIE-LABlab(68.64, -8.14, 35.14)
CIE-LCHlch(68.64, 36.07, 103.05°)
OKLaboklab(72.68% -0.0224 0.0854)
OKLCHoklch(72.68% 0.088 104.7)
XYZxyz(34.5027, 38.8435, 18.5094)
Luminance0.3884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA67 #676CAF
analogous
#AF8667 #AFAA67 #90AF67
triadic
#AFAA67 #67AFAA #AA67AF
tetradic
#AFAA67 #67AF86 #676CAF #AF6790
square
#AFAA67 #67AF86 #676CAF #AF6790
split-complementary
#AFAA67 #6790AF #8667AF
monochromatic
#666336 #8E894B #AFAA67 #C4C08F #D9D7B7

Accessibility & contrast

On white

2.39
#AFAA67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#AFAA67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA67
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA67#FFFFFF#000000##000000
##AFAA671.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A562
Deuteranopia (green-blind)
#B7A96A
Tritanopia (blue-blind)
#B9A29A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa67;
/* rgb */ color: rgb(175, 170, 103);
/* oklch */ color: oklch(72.7% 0.088 104.7);
Tailwind
colors: {
  custom: {
    50: '#c8c393',
    500: '#afaa67',
    950: '#000000',
  },
}
SCSS
$custom: #afaa67;
$custom-light: #c8c393;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa67",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 103
  },
  "hsl": {
    "h": 55.833,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7268,
    "c": 0.08832,
    "h": 104.7
  },
  "luminance": 0.38843
}

Semantic roles & 50–950 ramp

primary
#AFAA67
secondary
#AAACC8
accent
#68C761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFAA67

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

Preview Lab → · Contrast checker → · Palette generator →

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