#AFAF67#AFAF67

#AFAF67 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.094 H 108.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#AFAF67
RGBrgb(175, 175, 103)
HSLhsl(60, 31%, 55%)
HSVhsv(60, 41%, 69%)
CMYKcmyk(0%, 0%, 41.1%, 31.4%)
CIE-LABlab(70.00, -10.76, 36.86)
CIE-LCHlch(70.00, 38.40, 106.28°)
OKLaboklab(73.76% -0.0299 0.0893)
OKLCHoklch(73.76% 0.094 108.5)
XYZxyz(35.4579, 40.7539, 18.8278)
Luminance0.4075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAF67 #6767AF
analogous
#AF8B67 #AFAF67 #8BAF67
triadic
#AFAF67 #67AFAF #AF67AF
tetradic
#AFAF67 #67AF8B #6767AF #AF678B
square
#AFAF67 #67AF8B #6767AF #AF678B
split-complementary
#AFAF67 #678BAF #8B67AF
monochromatic
#666636 #8E8E4B #AFAF67 #C4C48F #D9D9B7

Accessibility & contrast

On white

2.29
#AFAF67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#AFAF67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAF67
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAF67#FFFFFF#000000##000000
##AFAF671.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAA61
Deuteranopia (green-blind)
#BBAC6A
Tritanopia (blue-blind)
#B8A79E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afaf67;
/* rgb */ color: rgb(175, 175, 103);
/* oklch */ color: oklch(73.8% 0.094 108.5);
Tailwind
colors: {
  custom: {
    50: '#c8c693',
    500: '#afaf67',
    950: '#000000',
  },
}
SCSS
$custom: #afaf67;
$custom-light: #c8c693;
$custom-dark: #000000;
JSON
{
  "hex": "#afaf67",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 103
  },
  "hsl": {
    "h": 60,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.73764,
    "c": 0.09421,
    "h": 108.5
  },
  "luminance": 0.40753
}

Semantic roles & 50–950 ramp

primary
#AFAF67
secondary
#AAAAC8
accent
#61C761
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFAF67

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

Preview Lab → · Contrast checker → · Palette generator →

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