#AFA15A#AFA15A

#AFA15A is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.093 H 98.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AFA15A
RGBrgb(175, 161, 90)
HSLhsl(50, 35%, 52%)
HSVhsv(50, 49%, 69%)
CMYKcmyk(0%, 8%, 48.6%, 31.4%)
CIE-LABlab(66.01, -4.70, 38.59)
CIE-LCHlch(66.01, 38.87, 96.94°)
OKLaboklab(70.54% -0.0137 0.0923)
OKLCHoklch(70.54% 0.093 98.4)
XYZxyz(32.2705, 35.3430, 14.7929)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA15A #5A68AF
analogous
#AF775A #AFA15A #93AF5A
triadic
#AFA15A #5AAFA1 #A15AAF
tetradic
#AFA15A #5AAF77 #5A68AF #AF5A93
square
#AFA15A #5AAF77 #5A68AF #AF5A93
split-complementary
#AFA15A #5A93AF #775AAF
monochromatic
#60582F #897E43 #AFA15A #C3B883 #D7D0AC

Accessibility & contrast

On white

2.60
#AFA15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AFA15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA15A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA15A#FFFFFF#000000##000000
##AFA15A1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D54
Deuteranopia (green-blind)
#B1A35D
Tritanopia (blue-blind)
#BA9890
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa15a;
/* rgb */ color: rgb(175, 161, 90);
/* oklch */ color: oklch(70.5% 0.093 98.4);
Tailwind
colors: {
  custom: {
    50: '#c9bc8a',
    500: '#afa15a',
    950: '#000000',
  },
}
SCSS
$custom: #afa15a;
$custom-light: #c9bc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa15a",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 90
  },
  "hsl": {
    "h": 50.118,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70542,
    "c": 0.09334,
    "h": 98.4
  },
  "luminance": 0.35342
}

Semantic roles & 50–950 ramp

primary
#AFA15A
secondary
#A0A6C5
accent
#6FCB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA15A

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

Preview Lab → · Contrast checker → · Palette generator →

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