#AFA362#AFA362

#AFA362 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.086 H 99.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#AFA362
RGBrgb(175, 163, 98)
HSLhsl(51, 32%, 54%)
HSVhsv(51, 44%, 69%)
CMYKcmyk(0%, 6.9%, 44%, 31.4%)
CIE-LABlab(66.67, -4.96, 35.25)
CIE-LCHlch(66.67, 35.60, 98.01°)
OKLaboklab(71.09% -0.0136 0.0854)
OKLCHoklch(71.09% 0.087 99.1)
XYZxyz(32.9818, 36.1913, 16.8012)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA362 #626EAF
analogous
#AF7C62 #AFA362 #94AF62
triadic
#AFA362 #62AFA3 #A362AF
tetradic
#AFA362 #62AF7C #626EAF #AF6294
square
#AFA362 #62AF7C #626EAF #AF6294
split-complementary
#AFA362 #6294AF #7C62AF
monochromatic
#645C33 #8C8247 #AFA362 #C4BB8B #D8D3B3

Accessibility & contrast

On white

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

On black

8.24
#AFA362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA362
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA362#FFFFFF#000000##000000
##AFA3621.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA05D
Deuteranopia (green-blind)
#B2A465
Tritanopia (blue-blind)
#BA9A93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa362;
/* rgb */ color: rgb(175, 163, 98);
/* oklch */ color: oklch(71.1% 0.086 99.1);
Tailwind
colors: {
  custom: {
    50: '#c8be90',
    500: '#afa362',
    950: '#000000',
  },
}
SCSS
$custom: #afa362;
$custom-light: #c8be90;
$custom-dark: #000000;
JSON
{
  "hex": "#afa362",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 98
  },
  "hsl": {
    "h": 50.649,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.0865,
    "h": 99.1
  },
  "luminance": 0.3619
}

Semantic roles & 50–950 ramp

primary
#AFA362
secondary
#A6ABC7
accent
#70C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA362

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

Preview Lab → · Contrast checker → · Palette generator →

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