#AFA356#AFA356

#AFA356 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.099 H 100.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#AFA356
RGBrgb(175, 163, 86)
HSLhsl(52, 36%, 51%)
HSVhsv(52, 51%, 69%)
CMYKcmyk(0%, 6.9%, 50.9%, 31.4%)
CIE-LABlab(66.51, -6.14, 41.22)
CIE-LCHlch(66.51, 41.67, 98.48°)
OKLaboklab(70.91% -0.0183 0.0978)
OKLCHoklch(70.91% 0.099 100.6)
XYZxyz(32.4571, 35.9814, 14.0377)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA356 #5662AF
analogous
#AF7656 #AFA356 #8EAF56
triadic
#AFA356 #56AFA3 #A356AF
tetradic
#AFA356 #56AF76 #5662AF #AF568E
square
#AFA356 #56AF76 #5662AF #AF568E
split-complementary
#AFA356 #568EAF #7656AF
monochromatic
#5E572D #887E40 #AFA356 #C3BA80 #D6D0A9

Accessibility & contrast

On white

2.56
#AFA356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#AFA356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA356
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA356#FFFFFF#000000##000000
##AFA3561.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4F
Deuteranopia (green-blind)
#B3A459
Tritanopia (blue-blind)
#BA9A91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa356;
/* rgb */ color: rgb(175, 163, 86);
/* oklch */ color: oklch(70.9% 0.099 100.6);
Tailwind
colors: {
  custom: {
    50: '#c9be87',
    500: '#afa356',
    950: '#000000',
  },
}
SCSS
$custom: #afa356;
$custom-light: #c9be87;
$custom-dark: #000000;
JSON
{
  "hex": "#afa356",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 86
  },
  "hsl": {
    "h": 51.91,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.70914,
    "c": 0.09949,
    "h": 100.6
  },
  "luminance": 0.3598
}

Semantic roles & 50–950 ramp

primary
#AFA356
secondary
#9DA2C4
accent
#6BCC5C
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA356

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

Preview Lab → · Contrast checker → · Palette generator →

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