#AFB649#AFB649

#AFB649 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.132 H 112.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#AFB649
RGBrgb(175, 182, 73)
HSLhsl(64, 43%, 50%)
HSVhsv(64, 60%, 71%)
CMYKcmyk(3.8%, 0%, 59.9%, 28.6%)
CIE-LABlab(71.59, -17.09, 53.21)
CIE-LCHlch(71.59, 55.88, 107.81°)
OKLaboklab(74.92% -0.0509 0.1222)
OKLCHoklch(74.92% 0.132 112.6)
XYZxyz(35.6106, 43.0516, 12.7359)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB649 #5049B6
analogous
#B68649 #AFB649 #79B649
triadic
#AFB649 #49AFB6 #B649AF
tetradic
#AFB649 #49B686 #5049B6 #B64979
square
#AFB649 #49B686 #5049B6 #B64979
split-complementary
#AFB649 #4979B6 #8649B6
monochromatic
#5B5F26 #858A37 #AFB649 #C2C875 #D5D9A0

Accessibility & contrast

On white

2.19
#AFB649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#AFB649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB649
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB649#FFFFFF#000000##000000
##AFB6491.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3C
Deuteranopia (green-blind)
#C3B150
Tritanopia (blue-blind)
#BAAC9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb649;
/* rgb */ color: rgb(175, 182, 73);
/* oklch */ color: oklch(74.9% 0.132 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9cb80',
    500: '#afb649',
    950: '#000000',
  },
}
SCSS
$custom: #afb649;
$custom-light: #c9cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#afb649",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 73
  },
  "hsl": {
    "h": 63.853,
    "s": 42.745,
    "l": 50
  },
  "oklch": {
    "l": 0.74918,
    "c": 0.13238,
    "h": 112.6
  },
  "luminance": 0.43051
}

Semantic roles & 50–950 ramp

primary
#AFB649
secondary
#9895C6
accent
#55D35D
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AFB649

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

Preview Lab → · Contrast checker → · Palette generator →

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