#AFAA78#AFAA78

#AFAA78 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.068 H 103.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#AFAA78
RGBrgb(175, 170, 120)
HSLhsl(55, 26%, 58%)
HSVhsv(55, 31%, 69%)
CMYKcmyk(0%, 2.9%, 31.4%, 31.4%)
CIE-LABlab(68.91, -6.10, 26.48)
CIE-LCHlch(68.91, 27.18, 102.97°)
OKLaboklab(72.99% -0.0154 0.0661)
OKLCHoklch(72.99% 0.068 103.1)
XYZxyz(35.4444, 39.2202, 23.4688)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA78 #787DAF
analogous
#AF8E78 #AFAA78 #99AF78
triadic
#AFAA78 #78AFAA #AA78AF
tetradic
#AFAA78 #78AF8E #787DAF #AF7899
square
#AFAA78 #78AF8E #787DAF #AF7899
split-complementary
#AFAA78 #7899AF #8E78AF
monochromatic
#6C6840 #938D57 #AFAA78 #C6C29E #DDDAC5

Accessibility & contrast

On white

2.37
#AFAA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#AFAA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA78
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA78#FFFFFF#000000##000000
##AFAA781.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A675
Deuteranopia (green-blind)
#B5A97A
Tritanopia (blue-blind)
#B7A39D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa78;
/* rgb */ color: rgb(175, 170, 120);
/* oklch */ color: oklch(73.0% 0.068 103.1);
Tailwind
colors: {
  custom: {
    50: '#c7c39f',
    500: '#afaa78',
    950: '#000000',
  },
}
SCSS
$custom: #afaa78;
$custom-light: #c7c39f;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa78",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 120
  },
  "hsl": {
    "h": 54.545,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.72985,
    "c": 0.06786,
    "h": 103.1
  },
  "luminance": 0.39219
}

Semantic roles & 50–950 ramp

primary
#AFAA78
secondary
#B6B8CC
accent
#6EC266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA78

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

Preview Lab → · Contrast checker → · Palette generator →

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