#AFA35E#AFA35E

#AFA35E is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.091 H 99.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AFA35E
RGBrgb(175, 163, 94)
HSLhsl(51, 34%, 53%)
HSVhsv(51, 46%, 69%)
CMYKcmyk(0%, 6.9%, 46.3%, 31.4%)
CIE-LABlab(66.61, -5.37, 37.26)
CIE-LCHlch(66.61, 37.65, 98.21°)
OKLaboklab(71.03% -0.0152 0.0897)
OKLCHoklch(71.03% 0.091 99.6)
XYZxyz(32.7976, 36.1176, 15.8312)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA35E #5E6AAF
analogous
#AF7A5E #AFA35E #92AF5E
triadic
#AFA35E #5EAFA3 #A35EAF
tetradic
#AFA35E #5EAF7A #5E6AAF #AF5E92
square
#AFA35E #5EAF7A #5E6AAF #AF5E92
split-complementary
#AFA35E #5E92AF #7A5EAF
monochromatic
#625B31 #8B8045 #AFA35E #C3BA87 #D8D2B0

Accessibility & contrast

On white

2.55
#AFA35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#AFA35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA35E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA35E#FFFFFF#000000##000000
##AFA35E1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F58
Deuteranopia (green-blind)
#B2A461
Tritanopia (blue-blind)
#BA9A92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa35e;
/* rgb */ color: rgb(175, 163, 94);
/* oklch */ color: oklch(71.0% 0.091 99.6);
Tailwind
colors: {
  custom: {
    50: '#c8be8d',
    500: '#afa35e',
    950: '#000000',
  },
}
SCSS
$custom: #afa35e;
$custom-light: #c8be8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa35e",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 94
  },
  "hsl": {
    "h": 51.111,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7103,
    "c": 0.09096,
    "h": 99.6
  },
  "luminance": 0.36116
}

Semantic roles & 50–950 ramp

primary
#AFA35E
secondary
#A3A8C6
accent
#6ECA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA35E

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

Preview Lab → · Contrast checker → · Palette generator →

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