#AFA468#AFA468

#AFA468 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.081 H 99.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#AFA468
RGBrgb(175, 164, 104)
HSLhsl(51, 31%, 55%)
HSVhsv(51, 41%, 69%)
CMYKcmyk(0%, 6.3%, 40.6%, 31.4%)
CIE-LABlab(67.03, -4.84, 32.56)
CIE-LCHlch(67.03, 32.91, 98.46°)
OKLaboklab(71.41% -0.0128 0.0796)
OKLCHoklch(71.41% 0.081 99.1)
XYZxyz(33.4540, 36.6654, 18.4089)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA468 #6873AF
analogous
#AF8168 #AFA468 #97AF68
triadic
#AFA468 #68AFA4 #A468AF
tetradic
#AFA468 #68AF81 #6873AF #AF6897
square
#AFA468 #68AF81 #6873AF #AF6897
split-complementary
#AFA468 #6897AF #8168AF
monochromatic
#665F36 #8E844B #AFA468 #C4BC90 #D9D4B8

Accessibility & contrast

On white

2.52
#AFA468 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#AFA468 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA468
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA468#FFFFFF#000000##000000
##AFA4681.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA164
Deuteranopia (green-blind)
#B2A56A
Tritanopia (blue-blind)
#B99C95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa468;
/* rgb */ color: rgb(175, 164, 104);
/* oklch */ color: oklch(71.4% 0.081 99.1);
Tailwind
colors: {
  custom: {
    50: '#c8be94',
    500: '#afa468',
    950: '#000000',
  },
}
SCSS
$custom: #afa468;
$custom-light: #c8be94;
$custom-dark: #000000;
JSON
{
  "hex": "#afa468",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 104
  },
  "hsl": {
    "h": 50.704,
    "s": 30.736,
    "l": 54.706
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.08064,
    "h": 99.1
  },
  "luminance": 0.36664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA468

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

Preview Lab → · Contrast checker → · Palette generator →

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