#AFA269#AFA269

#AFA269 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.077 H 96.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#AFA269
RGBrgb(175, 162, 105)
HSLhsl(49, 30%, 55%)
HSVhsv(49, 40%, 69%)
CMYKcmyk(0%, 7.4%, 40%, 31.4%)
CIE-LABlab(66.50, -3.66, 31.35)
CIE-LCHlch(66.50, 31.56, 96.65°)
OKLaboklab(71% -0.0093 0.0769)
OKLCHoklch(71% 0.077 96.9)
XYZxyz(33.1500, 35.9756, 18.5596)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA269 #6976AF
analogous
#AF7F69 #AFA269 #99AF69
triadic
#AFA269 #69AFA2 #A269AF
tetradic
#AFA269 #69AF7F #6976AF #AF6999
square
#AFA269 #69AF7F #6976AF #AF6999
split-complementary
#AFA269 #6999AF #7F69AF
monochromatic
#675E37 #8F824C #AFA269 #C4BB91 #DAD3B9

Accessibility & contrast

On white

2.56
#AFA269 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#AFA269 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA269
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA269#FFFFFF#000000##000000
##AFA2691.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F65
Deuteranopia (green-blind)
#B0A46B
Tritanopia (blue-blind)
#B99A94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa269;
/* rgb */ color: rgb(175, 162, 105);
/* oklch */ color: oklch(71.0% 0.077 96.9);
Tailwind
colors: {
  custom: {
    50: '#c8bd94',
    500: '#afa269',
    950: '#000000',
  },
}
SCSS
$custom: #afa269;
$custom-light: #c8bd94;
$custom-dark: #000000;
JSON
{
  "hex": "#afa269",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 105
  },
  "hsl": {
    "h": 48.857,
    "s": 30.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.70997,
    "c": 0.07747,
    "h": 96.9
  },
  "luminance": 0.35975
}

Semantic roles & 50–950 ramp

primary
#AFA269
secondary
#ABB1C9
accent
#74C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA269

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

Preview Lab → · Contrast checker → · Palette generator →

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