#AFA059#AFA059

#AFA059 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.093 H 97.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AFA059
RGBrgb(175, 160, 89)
HSLhsl(50, 35%, 52%)
HSVhsv(50, 49%, 69%)
CMYKcmyk(0%, 8.6%, 49.1%, 31.4%)
CIE-LABlab(65.73, -4.26, 38.75)
CIE-LCHlch(65.73, 38.99, 96.27°)
OKLaboklab(70.31% -0.0125 0.0926)
OKLCHoklch(70.31% 0.093 97.7)
XYZxyz(32.0541, 34.9780, 14.5122)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA059 #5968AF
analogous
#AF7559 #AFA059 #93AF59
triadic
#AFA059 #59AFA0 #A059AF
tetradic
#AFA059 #59AF75 #5968AF #AF5993
square
#AFA059 #59AF75 #5968AF #AF5993
split-complementary
#AFA059 #5993AF #7559AF
monochromatic
#60572E #897C42 #AFA059 #C3B882 #D7CFAC

Accessibility & contrast

On white

2.63
#AFA059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AFA059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA059
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA059#FFFFFF#000000##000000
##AFA0591.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D53
Deuteranopia (green-blind)
#B1A25C
Tritanopia (blue-blind)
#BA978F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa059;
/* rgb */ color: rgb(175, 160, 89);
/* oklch */ color: oklch(70.3% 0.093 97.7);
Tailwind
colors: {
  custom: {
    50: '#c9bb89',
    500: '#afa059',
    950: '#000000',
  },
}
SCSS
$custom: #afa059;
$custom-light: #c9bb89;
$custom-dark: #000000;
JSON
{
  "hex": "#afa059",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 89
  },
  "hsl": {
    "h": 49.535,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.09346,
    "h": 97.7
  },
  "luminance": 0.34977
}

Semantic roles & 50–950 ramp

primary
#AFA059
secondary
#9FA6C5
accent
#70CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AFA059

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

Preview Lab → · Contrast checker → · Palette generator →

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