#AFB84F#AFB84F

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

Color values

HEX#AFB84F
RGBrgb(175, 184, 79)
HSLhsl(65, 43%, 52%)
HSVhsv(65, 57%, 72%)
CMYKcmyk(4.9%, 0%, 57.1%, 27.8%)
CIE-LABlab(72.20, -17.64, 51.19)
CIE-LCHlch(72.20, 54.15, 109.01°)
OKLaboklab(75.43% -0.0518 0.1187)
OKLCHoklch(75.43% 0.129 113.6)
XYZxyz(36.2318, 43.9601, 13.9721)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB84F #584FB8
analogous
#B88D4F #AFB84F #7BB84F
triadic
#AFB84F #4FAFB8 #B84FAF
tetradic
#AFB84F #4FB88D #584FB8 #B84F7B
square
#AFB84F #4FB88D #584FB8 #B84F7B
split-complementary
#AFB84F #4F7BB8 #8D4FB8
monochromatic
#5F6428 #88903A #AFB84F #C3CA7B #D7DBA6

Accessibility & contrast

On white

2.14
#AFB84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB84F#FFFFFF#000000##000000
##AFB84F1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B044
Deuteranopia (green-blind)
#C4B255
Tritanopia (blue-blind)
#B9AEA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb84f;
/* rgb */ color: rgb(175, 184, 79);
/* oklch */ color: oklch(75.4% 0.129 113.6);
Tailwind
colors: {
  custom: {
    50: '#c9cd84',
    500: '#afb84f',
    950: '#000000',
  },
}
SCSS
$custom: #afb84f;
$custom-light: #c9cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#afb84f",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 65.143,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75426,
    "c": 0.12949,
    "h": 113.6
  },
  "luminance": 0.43959
}

Semantic roles & 50–950 ramp

primary
#AFB84F
secondary
#9E9AC8
accent
#56D260
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB84F

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

Preview Lab → · Contrast checker → · Palette generator →

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