#AFA367#AFA367

#AFA367 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.081 H 98.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AFA367
RGBrgb(175, 163, 103)
HSLhsl(50, 31%, 55%)
HSVhsv(50, 41%, 69%)
CMYKcmyk(0%, 6.9%, 41.1%, 31.4%)
CIE-LABlab(66.74, -4.42, 32.72)
CIE-LCHlch(66.74, 33.02, 97.69°)
OKLaboklab(71.18% -0.0116 0.0799)
OKLCHoklch(71.18% 0.081 98.3)
XYZxyz(33.2253, 36.2887, 18.0836)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA367 #6773AF
analogous
#AF7F67 #AFA367 #97AF67
triadic
#AFA367 #67AFA3 #A367AF
tetradic
#AFA367 #67AF7F #6773AF #AF6797
square
#AFA367 #67AF7F #6773AF #AF6797
split-complementary
#AFA367 #6797AF #7F67AF
monochromatic
#665E36 #8E834B #AFA367 #C4BB8F #D9D4B7

Accessibility & contrast

On white

2.54
#AFA367 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AFA367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA367
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA367#FFFFFF#000000##000000
##AFA3671.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA062
Deuteranopia (green-blind)
#B1A469
Tritanopia (blue-blind)
#B99B94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa367;
/* rgb */ color: rgb(175, 163, 103);
/* oklch */ color: oklch(71.2% 0.081 98.3);
Tailwind
colors: {
  custom: {
    50: '#c8be93',
    500: '#afa367',
    950: '#000000',
  },
}
SCSS
$custom: #afa367;
$custom-light: #c8be93;
$custom-dark: #000000;
JSON
{
  "hex": "#afa367",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 103
  },
  "hsl": {
    "h": 50,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.71176,
    "c": 0.08078,
    "h": 98.3
  },
  "luminance": 0.36288
}

Semantic roles & 50–950 ramp

primary
#AFA367
secondary
#AAAFC8
accent
#72C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA367

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

Preview Lab → · Contrast checker → · Palette generator →

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