#AFB64D#AFB64D

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

Color values

HEX#AFB64D
RGBrgb(175, 182, 77)
HSLhsl(64, 42%, 51%)
HSVhsv(64, 58%, 71%)
CMYKcmyk(3.8%, 0%, 57.7%, 28.6%)
CIE-LABlab(71.63, -16.79, 51.46)
CIE-LCHlch(71.63, 54.13, 108.07°)
OKLaboklab(74.96% -0.0496 0.119)
OKLCHoklch(74.96% 0.129 112.6)
XYZxyz(35.7475, 43.1064, 13.4570)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB64D #544DB6
analogous
#B6884D #AFB64D #7AB64D
triadic
#AFB64D #4DAFB6 #B64DAF
tetradic
#AFB64D #4DB688 #544DB6 #B64D7A
square
#AFB64D #4DB688 #544DB6 #B64D7A
split-complementary
#AFB64D #4D7AB6 #884DB6
monochromatic
#5D6128 #878C3A #AFB64D #C3C878 #D6DAA4

Accessibility & contrast

On white

2.18
#AFB64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#AFB64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB64D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB64D#FFFFFF#000000##000000
##AFB64D1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb64d;
/* rgb */ color: rgb(175, 182, 77);
/* oklch */ color: oklch(75.0% 0.129 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9cb83',
    500: '#afb64d',
    950: '#000000',
  },
}
SCSS
$custom: #afb64d;
$custom-light: #c9cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#afb64d",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 77
  },
  "hsl": {
    "h": 64,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7496,
    "c": 0.12892,
    "h": 112.6
  },
  "luminance": 0.43106
}

Semantic roles & 50–950 ramp

primary
#AFB64D
secondary
#9B98C7
accent
#56D25E
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB64D

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

Preview Lab → · Contrast checker → · Palette generator →

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