#AFAA74#AFAA74

#AFAA74 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.073 H 103.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFAA74
RGBrgb(175, 170, 116)
HSLhsl(55, 27%, 57%)
HSVhsv(55, 34%, 69%)
CMYKcmyk(0%, 2.9%, 33.7%, 31.4%)
CIE-LABlab(68.84, -6.61, 28.54)
CIE-LCHlch(68.84, 29.29, 103.04°)
OKLaboklab(72.91% -0.017 0.0708)
OKLCHoklch(72.91% 0.073 103.5)
XYZxyz(35.2067, 39.1251, 22.2169)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA74 #7479AF
analogous
#AF8D74 #AFAA74 #97AF74
triadic
#AFAA74 #74AFAA #AA74AF
tetradic
#AFAA74 #74AF8D #7479AF #AF7497
square
#AFAA74 #74AF8D #7479AF #AF7497
split-complementary
#AFAA74 #7497AF #8D74AF
monochromatic
#6B673E #928D54 #AFAA74 #C5C29B #DCDAC2

Accessibility & contrast

On white

2.38
#AFAA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AFAA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA74
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA74#FFFFFF#000000##000000
##AFAA741.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A670
Deuteranopia (green-blind)
#B5A976
Tritanopia (blue-blind)
#B7A39C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa74;
/* rgb */ color: rgb(175, 170, 116);
/* oklch */ color: oklch(72.9% 0.073 103.5);
Tailwind
colors: {
  custom: {
    50: '#c7c39c',
    500: '#afaa74',
    950: '#000000',
  },
}
SCSS
$custom: #afaa74;
$custom-light: #c7c39c;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa74",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 116
  },
  "hsl": {
    "h": 54.915,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72908,
    "c": 0.07282,
    "h": 103.5
  },
  "luminance": 0.39124
}

Semantic roles & 50–950 ramp

primary
#AFAA74
secondary
#B3B5CB
accent
#6DC365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA74

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

Preview Lab → · Contrast checker → · Palette generator →

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