#AFA463#AFA463

#AFA463 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.086 H 99.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#AFA463
RGBrgb(175, 164, 99)
HSLhsl(51, 32%, 54%)
HSVhsv(51, 43%, 69%)
CMYKcmyk(0%, 6.3%, 43.4%, 31.4%)
CIE-LABlab(66.95, -5.39, 35.09)
CIE-LCHlch(66.95, 35.50, 98.73°)
OKLaboklab(71.32% -0.0148 0.0851)
OKLCHoklch(71.32% 0.086 99.9)
XYZxyz(33.2075, 36.5668, 17.1108)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA463 #636EAF
analogous
#AF7E63 #AFA463 #94AF63
triadic
#AFA463 #63AFA4 #A463AF
tetradic
#AFA463 #63AF7E #636EAF #AF6394
square
#AFA463 #63AF7E #636EAF #AF6394
split-complementary
#AFA463 #6394AF #7E63AF
monochromatic
#645D33 #8D8348 #AFA463 #C4BC8B #D8D3B4

Accessibility & contrast

On white

2.53
#AFA463 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#AFA463 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA463
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA463#FFFFFF#000000##000000
##AFA4631.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05E
Deuteranopia (green-blind)
#B3A566
Tritanopia (blue-blind)
#B99C94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa463;
/* rgb */ color: rgb(175, 164, 99);
/* oklch */ color: oklch(71.3% 0.086 99.9);
Tailwind
colors: {
  custom: {
    50: '#c8be90',
    500: '#afa463',
    950: '#000000',
  },
}
SCSS
$custom: #afa463;
$custom-light: #c8be90;
$custom-dark: #000000;
JSON
{
  "hex": "#afa463",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 99
  },
  "hsl": {
    "h": 51.316,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71323,
    "c": 0.08639,
    "h": 99.9
  },
  "luminance": 0.36566
}

Semantic roles & 50–950 ramp

primary
#AFA463
secondary
#A7ABC7
accent
#6FC85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFA463

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

Preview Lab → · Contrast checker → · Palette generator →

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