#AFA267#AFA267

#AFA267 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.080 H 97.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AFA267
RGBrgb(175, 162, 103)
HSLhsl(49, 31%, 55%)
HSVhsv(49, 41%, 69%)
CMYKcmyk(0%, 7.4%, 41.1%, 31.4%)
CIE-LABlab(66.47, -3.88, 32.37)
CIE-LCHlch(66.47, 32.61, 96.84°)
OKLaboklab(70.96% -0.0101 0.0792)
OKLCHoklch(70.96% 0.08 97.3)
XYZxyz(33.0484, 35.9350, 18.0246)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA267 #6774AF
analogous
#AF7E67 #AFA267 #98AF67
triadic
#AFA267 #67AFA2 #A267AF
tetradic
#AFA267 #67AF7E #6774AF #AF6798
square
#AFA267 #67AF7E #6774AF #AF6798
split-complementary
#AFA267 #6798AF #7E67AF
monochromatic
#665D36 #8E824B #AFA267 #C4BB8F #D9D3B7

Accessibility & contrast

On white

2.57
#AFA267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AFA267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA267
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA267#FFFFFF#000000##000000
##AFA2671.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F63
Deuteranopia (green-blind)
#B1A469
Tritanopia (blue-blind)
#B99A93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa267;
/* rgb */ color: rgb(175, 162, 103);
/* oklch */ color: oklch(71.0% 0.080 97.3);
Tailwind
colors: {
  custom: {
    50: '#c8bd93',
    500: '#afa267',
    950: '#000000',
  },
}
SCSS
$custom: #afa267;
$custom-light: #c8bd93;
$custom-dark: #000000;
JSON
{
  "hex": "#afa267",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 103
  },
  "hsl": {
    "h": 49.167,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.70962,
    "c": 0.07979,
    "h": 97.3
  },
  "luminance": 0.35934
}

Semantic roles & 50–950 ramp

primary
#AFA267
secondary
#AAAFC8
accent
#73C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA267

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

Preview Lab → · Contrast checker → · Palette generator →

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