#AFA85E#AFA85E

#AFA85E is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.096 H 103.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AFA85E
RGBrgb(175, 168, 94)
HSLhsl(55, 34%, 53%)
HSVhsv(55, 46%, 69%)
CMYKcmyk(0%, 4%, 46.3%, 31.4%)
CIE-LABlab(67.97, -8.03, 38.94)
CIE-LCHlch(67.97, 39.76, 101.65°)
OKLaboklab(72.11% -0.0229 0.0934)
OKLCHoklch(72.11% 0.096 103.8)
XYZxyz(33.7030, 37.9283, 16.1330)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA85E #5E65AF
analogous
#AF7F5E #AFA85E #8DAF5E
triadic
#AFA85E #5EAFA8 #A85EAF
tetradic
#AFA85E #5EAF7F #5E65AF #AF5E8D
square
#AFA85E #5EAF7F #5E65AF #AF5E8D
split-complementary
#AFA85E #5E8DAF #7F5EAF
monochromatic
#625E31 #8B8545 #AFA85E #C3BE87 #D8D4B0

Accessibility & contrast

On white

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

On black

8.59
#AFA85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA85E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA85E#FFFFFF#000000##000000
##AFA85E1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A358
Deuteranopia (green-blind)
#B6A761
Tritanopia (blue-blind)
#BA9F96
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa85e;
/* rgb */ color: rgb(175, 168, 94);
/* oklch */ color: oklch(72.1% 0.096 103.8);
Tailwind
colors: {
  custom: {
    50: '#c8c18d',
    500: '#afa85e',
    950: '#000000',
  },
}
SCSS
$custom: #afa85e;
$custom-light: #c8c18d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa85e",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 94
  },
  "hsl": {
    "h": 54.815,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.72107,
    "c": 0.09617,
    "h": 103.8
  },
  "luminance": 0.37927
}

Semantic roles & 50–950 ramp

primary
#AFA85E
secondary
#A3A6C6
accent
#67CA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA85E

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

Preview Lab → · Contrast checker → · Palette generator →

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