#AFAC67#AFAC67

#AFAC67 is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.091 H 106.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFAC67
RGBrgb(175, 172, 103)
HSLhsl(58, 31%, 55%)
HSVhsv(58, 41%, 69%)
CMYKcmyk(0%, 1.7%, 41.1%, 31.4%)
CIE-LABlab(69.18, -9.19, 35.82)
CIE-LCHlch(69.18, 36.99, 104.39°)
OKLaboklab(73.11% -0.0254 0.087)
OKLCHoklch(73.11% 0.091 106.3)
XYZxyz(34.8805, 39.5991, 18.6353)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC67 #676AAF
analogous
#AF8867 #AFAC67 #8EAF67
triadic
#AFAC67 #67AFAC #AC67AF
tetradic
#AFAC67 #67AF88 #676AAF #AF678E
square
#AFAC67 #67AF88 #676AAF #AF678E
split-complementary
#AFAC67 #678EAF #8867AF
monochromatic
#666436 #8E8B4B #AFAC67 #C4C28F #D9D8B7

Accessibility & contrast

On white

2.35
#AFAC67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AFAC67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC67
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC67#FFFFFF#000000##000000
##AFAC671.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A762
Deuteranopia (green-blind)
#B8AA6A
Tritanopia (blue-blind)
#B9A49B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afac67;
/* rgb */ color: rgb(175, 172, 103);
/* oklch */ color: oklch(73.1% 0.091 106.3);
Tailwind
colors: {
  custom: {
    50: '#c8c493',
    500: '#afac67',
    950: '#000000',
  },
}
SCSS
$custom: #afac67;
$custom-light: #c8c493;
$custom-dark: #000000;
JSON
{
  "hex": "#afac67",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 103
  },
  "hsl": {
    "h": 57.5,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.73112,
    "c": 0.09063,
    "h": 106.3
  },
  "luminance": 0.39598
}

Semantic roles & 50–950 ramp

primary
#AFAC67
secondary
#AAABC8
accent
#65C761
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFAC67

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

Preview Lab → · Contrast checker → · Palette generator →

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