#AFA358#AFA358

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

Color values

HEX#AFA358
RGBrgb(175, 163, 88)
HSLhsl(52, 35%, 52%)
HSVhsv(52, 50%, 69%)
CMYKcmyk(0%, 6.9%, 49.7%, 31.4%)
CIE-LABlab(66.53, -5.96, 40.24)
CIE-LCHlch(66.53, 40.68, 98.42°)
OKLaboklab(70.94% -0.0175 0.0958)
OKLCHoklch(70.94% 0.097 100.4)
XYZxyz(32.5388, 36.0141, 14.4680)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA358 #5864AF
analogous
#AF7858 #AFA358 #90AF58
triadic
#AFA358 #58AFA3 #A358AF
tetradic
#AFA358 #58AF78 #5864AF #AF5890
square
#AFA358 #58AF78 #5864AF #AF5890
split-complementary
#AFA358 #5890AF #7858AF
monochromatic
#5F582E #887F41 #AFA358 #C3BA81 #D7D1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA358#FFFFFF#000000##000000
##AFA3581.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)
#AF9F52
Deuteranopia (green-blind)
#B3A45B
Tritanopia (blue-blind)
#BA9A91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa358;
/* rgb */ color: rgb(175, 163, 88);
/* oklch */ color: oklch(70.9% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#c9be89',
    500: '#afa358',
    950: '#000000',
  },
}
SCSS
$custom: #afa358;
$custom-light: #c9be89;
$custom-dark: #000000;
JSON
{
  "hex": "#afa358",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 88
  },
  "hsl": {
    "h": 51.724,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70942,
    "c": 0.09741,
    "h": 100.4
  },
  "luminance": 0.36013
}

Semantic roles & 50–950 ramp

primary
#AFA358
secondary
#9EA4C5
accent
#6CCB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA358

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

Preview Lab → · Contrast checker → · Palette generator →

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