#AFA674#AFA674

#AFA674 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.068 H 99.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AFA674
RGBrgb(175, 166, 116)
HSLhsl(51, 27%, 57%)
HSVhsv(51, 34%, 69%)
CMYKcmyk(0%, 5.1%, 33.7%, 31.4%)
CIE-LABlab(67.76, -4.48, 27.11)
CIE-LCHlch(67.76, 27.48, 99.38°)
OKLaboklab(72.05% -0.0109 0.0675)
OKLCHoklch(72.05% 0.068 99.2)
XYZxyz(34.4682, 37.6482, 21.9707)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA674 #747DAF
analogous
#AF8874 #AFA674 #9BAF74
triadic
#AFA674 #74AFA6 #A674AF
tetradic
#AFA674 #74AF88 #747DAF #AF749B
square
#AFA674 #74AF88 #747DAF #AF749B
split-complementary
#AFA674 #749BAF #8874AF
monochromatic
#6B643E #928854 #AFA674 #C5BF9B #DCD8C2

Accessibility & contrast

On white

2.46
#AFA674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#AFA674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA674
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA674#FFFFFF#000000##000000
##AFA6741.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA371
Deuteranopia (green-blind)
#B2A776
Tritanopia (blue-blind)
#B89F99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa674;
/* rgb */ color: rgb(175, 166, 116);
/* oklch */ color: oklch(72.1% 0.068 99.2);
Tailwind
colors: {
  custom: {
    50: '#c7c09c',
    500: '#afa674',
    950: '#000000',
  },
}
SCSS
$custom: #afa674;
$custom-light: #c7c09c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa674",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 116
  },
  "hsl": {
    "h": 50.847,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72052,
    "c": 0.06833,
    "h": 99.2
  },
  "luminance": 0.37647
}

Semantic roles & 50–950 ramp

primary
#AFA674
secondary
#B3B7CB
accent
#73C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA674

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

Preview Lab → · Contrast checker → · Palette generator →

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