#AFAF68#AFAF68

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

Color values

HEX#AFAF68
RGBrgb(175, 175, 104)
HSLhsl(60, 31%, 55%)
HSVhsv(60, 41%, 69%)
CMYKcmyk(0%, 0%, 40.6%, 31.4%)
CIE-LABlab(70.02, -10.66, 36.36)
CIE-LCHlch(70.02, 37.89, 106.33°)
OKLaboklab(73.78% -0.0295 0.0883)
OKLCHoklch(73.78% 0.093 108.5)
XYZxyz(35.5084, 40.7741, 19.0937)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAF68 #6868AF
analogous
#AF8C68 #AFAF68 #8CAF68
triadic
#AFAF68 #68AFAF #AF68AF
tetradic
#AFAF68 #68AF8C #6868AF #AF688C
square
#AFAF68 #68AF8C #6868AF #AF688C
split-complementary
#AFAF68 #688CAF #8C68AF
monochromatic
#666636 #8E8E4B #AFAF68 #C4C490 #D9D9B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAF68#FFFFFF#000000##000000
##AFAF681.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)
#BAAA62
Deuteranopia (green-blind)
#BBAC6B
Tritanopia (blue-blind)
#B8A79E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afaf68;
/* rgb */ color: rgb(175, 175, 104);
/* oklch */ color: oklch(73.8% 0.093 108.5);
Tailwind
colors: {
  custom: {
    50: '#c8c694',
    500: '#afaf68',
    950: '#000000',
  },
}
SCSS
$custom: #afaf68;
$custom-light: #c8c694;
$custom-dark: #000000;
JSON
{
  "hex": "#afaf68",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 30.736,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7378,
    "c": 0.09307,
    "h": 108.5
  },
  "luminance": 0.40773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAF68

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

Preview Lab → · Contrast checker → · Palette generator →

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