#AFB84D#AFB84D

#AFB84D is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.131 H 113.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#AFB84D
RGBrgb(175, 184, 77)
HSLhsl(65, 43%, 51%)
HSVhsv(65, 58%, 72%)
CMYKcmyk(4.9%, 0%, 58.2%, 27.8%)
CIE-LABlab(72.18, -17.80, 52.08)
CIE-LCHlch(72.18, 55.04, 108.87°)
OKLaboklab(75.4% -0.0525 0.1203)
OKLCHoklch(75.4% 0.131 113.6)
XYZxyz(36.1600, 43.9314, 13.5945)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB84D #564DB8
analogous
#B88B4D #AFB84D #79B84D
triadic
#AFB84D #4DAFB8 #B84DAF
tetradic
#AFB84D #4DB88B #564DB8 #B84D79
square
#AFB84D #4DB88B #564DB8 #B84D79
split-complementary
#AFB84D #4D79B8 #8B4DB8
monochromatic
#5E6328 #888F39 #AFB84D #C3C979 #D6DBA4

Accessibility & contrast

On white

2.15
#AFB84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#AFB84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB84D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB84D#FFFFFF#000000##000000
##AFB84D1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B041
Deuteranopia (green-blind)
#C4B253
Tritanopia (blue-blind)
#BAAEA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb84d;
/* rgb */ color: rgb(175, 184, 77);
/* oklch */ color: oklch(75.4% 0.131 113.6);
Tailwind
colors: {
  custom: {
    50: '#c9cd83',
    500: '#afb84d',
    950: '#000000',
  },
}
SCSS
$custom: #afb84d;
$custom-light: #c9cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#afb84d",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 65.047,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75404,
    "c": 0.13125,
    "h": 113.6
  },
  "luminance": 0.43931
}

Semantic roles & 50–950 ramp

primary
#AFB84D
secondary
#9D99C8
accent
#55D360
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB84D

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

Preview Lab → · Contrast checker → · Palette generator →

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