#AFA767#AFA767

#AFA767 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.085 H 102.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AFA767
RGBrgb(175, 167, 103)
HSLhsl(53, 31%, 55%)
HSVhsv(53, 41%, 69%)
CMYKcmyk(0%, 4.6%, 41.1%, 31.4%)
CIE-LABlab(67.82, -6.55, 34.10)
CIE-LCHlch(67.82, 34.72, 100.88°)
OKLaboklab(72.03% -0.0178 0.0831)
OKLCHoklch(72.03% 0.085 102.1)
XYZxyz(33.9467, 37.7316, 18.3240)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA767 #676FAF
analogous
#AF8367 #AFA767 #93AF67
triadic
#AFA767 #67AFA7 #A767AF
tetradic
#AFA767 #67AF83 #676FAF #AF6793
square
#AFA767 #67AF83 #676FAF #AF6793
split-complementary
#AFA767 #6793AF #8367AF
monochromatic
#666136 #8E874B #AFA767 #C4BE8F #D9D5B7

Accessibility & contrast

On white

2.46
#AFA767 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#AFA767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA767
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA767#FFFFFF#000000##000000
##AFA7671.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A362
Deuteranopia (green-blind)
#B4A76A
Tritanopia (blue-blind)
#B99F97
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa767;
/* rgb */ color: rgb(175, 167, 103);
/* oklch */ color: oklch(72.0% 0.085 102.1);
Tailwind
colors: {
  custom: {
    50: '#c8c193',
    500: '#afa767',
    950: '#000000',
  },
}
SCSS
$custom: #afa767;
$custom-light: #c8c193;
$custom-dark: #000000;
JSON
{
  "hex": "#afa767",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 103
  },
  "hsl": {
    "h": 53.333,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.72033,
    "c": 0.08498,
    "h": 102.1
  },
  "luminance": 0.37731
}

Semantic roles & 50–950 ramp

primary
#AFA767
secondary
#AAADC8
accent
#6CC761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA767

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

Preview Lab → · Contrast checker → · Palette generator →

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