#AFA859#AFA859

#AFA859 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.102 H 104.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AFA859
RGBrgb(175, 168, 89)
HSLhsl(55, 35%, 52%)
HSVhsv(55, 49%, 69%)
CMYKcmyk(0%, 4%, 49.1%, 31.4%)
CIE-LABlab(67.90, -8.52, 41.39)
CIE-LCHlch(67.90, 42.26, 101.63°)
OKLaboklab(72.04% -0.0248 0.0985)
OKLCHoklch(72.04% 0.102 104.1)
XYZxyz(33.4859, 37.8415, 14.9895)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA859 #5960AF
analogous
#AF7D59 #AFA859 #8BAF59
triadic
#AFA859 #59AFA8 #A859AF
tetradic
#AFA859 #59AF7D #5960AF #AF598B
square
#AFA859 #59AF7D #5960AF #AF598B
split-complementary
#AFA859 #598BAF #7D59AF
monochromatic
#605C2E #898342 #AFA859 #C3BE82 #D7D3AC

Accessibility & contrast

On white

2.45
#AFA859 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AFA859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA859
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA859#FFFFFF#000000##000000
##AFA8591.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A352
Deuteranopia (green-blind)
#B7A75D
Tritanopia (blue-blind)
#BA9F96
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa859;
/* rgb */ color: rgb(175, 168, 89);
/* oklch */ color: oklch(72.0% 0.102 104.1);
Tailwind
colors: {
  custom: {
    50: '#c9c18a',
    500: '#afa859',
    950: '#000000',
  },
}
SCSS
$custom: #afa859;
$custom-light: #c9c18a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa859",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 89
  },
  "hsl": {
    "h": 55.116,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.10152,
    "h": 104.1
  },
  "luminance": 0.3784
}

Semantic roles & 50–950 ramp

primary
#AFA859
secondary
#9FA2C5
accent
#66CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA859

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

Preview Lab → · Contrast checker → · Palette generator →

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