#AFA15E#AFA15E

#AFA15E is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.089 H 97.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#AFA15E
RGBrgb(175, 161, 94)
HSLhsl(50, 34%, 53%)
HSVhsv(50, 46%, 69%)
CMYKcmyk(0%, 8%, 46.3%, 31.4%)
CIE-LABlab(66.07, -4.30, 36.59)
CIE-LCHlch(66.07, 36.84, 96.71°)
OKLaboklab(70.6% -0.0121 0.0882)
OKLCHoklch(70.6% 0.089 97.8)
XYZxyz(32.4453, 35.4130, 15.7138)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA15E #5E6CAF
analogous
#AF795E #AFA15E #94AF5E
triadic
#AFA15E #5EAFA1 #A15EAF
tetradic
#AFA15E #5EAF79 #5E6CAF #AF5E94
square
#AFA15E #5EAF79 #5E6CAF #AF5E94
split-complementary
#AFA15E #5E94AF #795EAF
monochromatic
#625931 #8B7F45 #AFA15E #C3B987 #D8D1B0

Accessibility & contrast

On white

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

On black

8.08
#AFA15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA15E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA15E#FFFFFF#000000##000000
##AFA15E1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E59
Deuteranopia (green-blind)
#B1A361
Tritanopia (blue-blind)
#BA9891
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa15e;
/* rgb */ color: rgb(175, 161, 94);
/* oklch */ color: oklch(70.6% 0.089 97.8);
Tailwind
colors: {
  custom: {
    50: '#c8bc8d',
    500: '#afa15e',
    950: '#000000',
  },
}
SCSS
$custom: #afa15e;
$custom-light: #c8bc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa15e",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 94
  },
  "hsl": {
    "h": 49.63,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70602,
    "c": 0.089,
    "h": 97.8
  },
  "luminance": 0.35412
}

Semantic roles & 50–950 ramp

primary
#AFA15E
secondary
#A3A9C6
accent
#71CA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA15E

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

Preview Lab → · Contrast checker → · Palette generator →

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