#AFA263#AFA263

#AFA263 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.084 H 98.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AFA263
RGBrgb(175, 162, 99)
HSLhsl(50, 32%, 54%)
HSVhsv(50, 43%, 69%)
CMYKcmyk(0%, 7.4%, 43.4%, 31.4%)
CIE-LABlab(66.41, -4.32, 34.41)
CIE-LCHlch(66.41, 34.68, 97.16°)
OKLaboklab(70.9% -0.0117 0.0836)
OKLCHoklch(70.9% 0.084 98)
XYZxyz(32.8524, 35.8566, 16.9924)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA263 #6370AF
analogous
#AF7C63 #AFA263 #96AF63
triadic
#AFA263 #63AFA2 #A263AF
tetradic
#AFA263 #63AF7C #6370AF #AF6396
square
#AFA263 #63AF7C #6370AF #AF6396
split-complementary
#AFA263 #6396AF #7C63AF
monochromatic
#645C33 #8D8148 #AFA263 #C4BA8B #D8D2B4

Accessibility & contrast

On white

2.57
#AFA263 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#AFA263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA263
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA263#FFFFFF#000000##000000
##AFA2631.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F5E
Deuteranopia (green-blind)
#B1A465
Tritanopia (blue-blind)
#BA9A93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa263;
/* rgb */ color: rgb(175, 162, 99);
/* oklch */ color: oklch(70.9% 0.084 98.0);
Tailwind
colors: {
  custom: {
    50: '#c8bd90',
    500: '#afa263',
    950: '#000000',
  },
}
SCSS
$custom: #afa263;
$custom-light: #c8bd90;
$custom-dark: #000000;
JSON
{
  "hex": "#afa263",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 99
  },
  "hsl": {
    "h": 49.737,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.70895,
    "c": 0.08439,
    "h": 98
  },
  "luminance": 0.35855
}

Semantic roles & 50–950 ramp

primary
#AFA263
secondary
#A7ACC7
accent
#71C85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA263

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

Preview Lab → · Contrast checker → · Palette generator →

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