#AFB063#AFB063

#AFB063 is a light, moderate yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.100 H 109.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#AFB063
RGBrgb(175, 176, 99)
HSLhsl(61, 33%, 54%)
HSVhsv(61, 44%, 69%)
CMYKcmyk(0.6%, 0%, 43.8%, 31%)
CIE-LABlab(70.22, -11.71, 39.18)
CIE-LCHlch(70.22, 40.89, 106.64°)
OKLaboklab(73.92% -0.033 0.0943)
OKLCHoklch(73.92% 0.1 109.3)
XYZxyz(35.4573, 41.0662, 17.8607)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB063 #6463B0
analogous
#B08B63 #AFB063 #89B063
triadic
#AFB063 #63AFB0 #B063AF
tetradic
#AFB063 #63B08B #6463B0 #B06389
square
#AFB063 #63B08B #6463B0 #B06389
split-complementary
#AFB063 #6389B0 #8B63B0
monochromatic
#656533 #8D8E48 #AFB063 #C4C58C #D9D9B4

Accessibility & contrast

On white

2.28
#AFB063 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#AFB063 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB063
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB063#FFFFFF#000000##000000
##AFB0631.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA5D
Deuteranopia (green-blind)
#BCAD67
Tritanopia (blue-blind)
#B9A79E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb063;
/* rgb */ color: rgb(175, 176, 99);
/* oklch */ color: oklch(73.9% 0.100 109.3);
Tailwind
colors: {
  custom: {
    50: '#c8c791',
    500: '#afb063',
    950: '#000000',
  },
}
SCSS
$custom: #afb063;
$custom-light: #c8c791;
$custom-dark: #000000;
JSON
{
  "hex": "#afb063",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 99
  },
  "hsl": {
    "h": 60.779,
    "s": 32.766,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73921,
    "c": 0.09988,
    "h": 109.3
  },
  "luminance": 0.41065
}

Semantic roles & 50–950 ramp

primary
#AFB063
secondary
#A7A7C8
accent
#5FC960
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB063

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

Preview Lab → · Contrast checker → · Palette generator →

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