#AFA374#AFA374

#AFA374 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.065 H 95.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#AFA374
RGBrgb(175, 163, 116)
HSLhsl(48, 27%, 57%)
HSVhsv(48, 34%, 69%)
CMYKcmyk(0%, 6.9%, 33.7%, 31.4%)
CIE-LABlab(66.95, -2.87, 26.04)
CIE-LCHlch(66.95, 26.19, 96.29°)
OKLaboklab(71.41% -0.0063 0.0649)
OKLCHoklch(71.41% 0.065 95.5)
XYZxyz(33.9292, 36.5702, 21.7911)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA374 #7480AF
analogous
#AF8674 #AFA374 #9EAF74
triadic
#AFA374 #74AFA3 #A374AF
tetradic
#AFA374 #74AF86 #7480AF #AF749E
square
#AFA374 #74AF86 #7480AF #AF749E
split-complementary
#AFA374 #749EAF #8674AF
monochromatic
#6B623E #928554 #AFA374 #C5BD9B #DCD6C2

Accessibility & contrast

On white

2.53
#AFA374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#AFA374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA374
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA374#FFFFFF#000000##000000
##AFA3741.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA171
Deuteranopia (green-blind)
#B0A576
Tritanopia (blue-blind)
#B89C97
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa374;
/* rgb */ color: rgb(175, 163, 116);
/* oklch */ color: oklch(71.4% 0.065 95.5);
Tailwind
colors: {
  custom: {
    50: '#c7be9c',
    500: '#afa374',
    950: '#000000',
  },
}
SCSS
$custom: #afa374;
$custom-light: #c7be9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa374",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 116
  },
  "hsl": {
    "h": 47.797,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71414,
    "c": 0.06523,
    "h": 95.5
  },
  "luminance": 0.36569
}

Semantic roles & 50–950 ramp

primary
#AFA374
secondary
#B3B8CB
accent
#78C365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA374

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

Preview Lab → · Contrast checker → · Palette generator →

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