#AFAB63#AFAB63

#AFAB63 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.094 H 105.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#AFAB63
RGBrgb(175, 171, 99)
HSLhsl(57, 32%, 54%)
HSVhsv(57, 43%, 69%)
CMYKcmyk(0%, 2.3%, 43.4%, 31.4%)
CIE-LABlab(68.85, -9.10, 37.48)
CIE-LCHlch(68.85, 38.57, 103.65°)
OKLaboklab(72.83% -0.0255 0.0905)
OKLCHoklch(72.83% 0.094 105.7)
XYZxyz(34.4949, 39.1415, 17.5399)
Luminance0.3914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB63 #6367AF
analogous
#AF8563 #AFAB63 #8DAF63
triadic
#AFAB63 #63AFAB #AB63AF
tetradic
#AFAB63 #63AF85 #6367AF #AF638D
square
#AFAB63 #63AF85 #6367AF #AF638D
split-complementary
#AFAB63 #638DAF #8563AF
monochromatic
#646233 #8D8948 #AFAB63 #C4C18B #D8D7B4

Accessibility & contrast

On white

2.38
#AFAB63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#AFAB63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB63
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB63#FFFFFF#000000##000000
##AFAB631.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65D
Deuteranopia (green-blind)
#B8AA66
Tritanopia (blue-blind)
#B9A39A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afab63;
/* rgb */ color: rgb(175, 171, 99);
/* oklch */ color: oklch(72.8% 0.094 105.7);
Tailwind
colors: {
  custom: {
    50: '#c8c391',
    500: '#afab63',
    950: '#000000',
  },
}
SCSS
$custom: #afab63;
$custom-light: #c8c391;
$custom-dark: #000000;
JSON
{
  "hex": "#afab63",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 99
  },
  "hsl": {
    "h": 56.842,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.72832,
    "c": 0.09401,
    "h": 105.7
  },
  "luminance": 0.39141
}

Semantic roles & 50–950 ramp

primary
#AFAB63
secondary
#A7A8C7
accent
#65C85F
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFAB63

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

Preview Lab → · Contrast checker → · Palette generator →

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