#AFAA68#AFAA68

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

Color values

HEX#AFAA68
RGBrgb(175, 170, 104)
HSLhsl(56, 31%, 55%)
HSVhsv(56, 41%, 69%)
CMYKcmyk(0%, 2.9%, 40.6%, 31.4%)
CIE-LABlab(68.65, -8.03, 34.63)
CIE-LCHlch(68.65, 35.55, 103.05°)
OKLaboklab(72.7% -0.022 0.0844)
OKLCHoklch(72.7% 0.087 104.6)
XYZxyz(34.5532, 38.8637, 18.7753)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA68 #686DAF
analogous
#AF8768 #AFAA68 #90AF68
triadic
#AFAA68 #68AFAA #AA68AF
tetradic
#AFAA68 #68AF87 #686DAF #AF6890
square
#AFAA68 #68AF87 #686DAF #AF6890
split-complementary
#AFAA68 #6890AF #8768AF
monochromatic
#666336 #8E8A4B #AFAA68 #C4C190 #D9D7B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAA68#FFFFFF#000000##000000
##AFAA681.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)
#B5A663
Deuteranopia (green-blind)
#B7A96B
Tritanopia (blue-blind)
#B9A29A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa68;
/* rgb */ color: rgb(175, 170, 104);
/* oklch */ color: oklch(72.7% 0.087 104.6);
Tailwind
colors: {
  custom: {
    50: '#c8c394',
    500: '#afaa68',
    950: '#000000',
  },
}
SCSS
$custom: #afaa68;
$custom-light: #c8c394;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa68",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 104
  },
  "hsl": {
    "h": 55.775,
    "s": 30.736,
    "l": 54.706
  },
  "oklch": {
    "l": 0.72696,
    "c": 0.08716,
    "h": 104.6
  },
  "luminance": 0.38863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAA68

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

Preview Lab → · Contrast checker → · Palette generator →

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