#AFBD4F#AFBD4F

#AFBD4F is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.5% C 0.135 H 115.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#AFBD4F
RGBrgb(175, 189, 79)
HSLhsl(68, 45%, 53%)
HSVhsv(68, 58%, 74%)
CMYKcmyk(7.4%, 0%, 58.2%, 25.9%)
CIE-LABlab(73.59, -20.15, 52.75)
CIE-LCHlch(73.59, 56.47, 110.91°)
OKLaboklab(76.54% -0.0589 0.122)
OKLCHoklch(76.54% 0.135 115.8)
XYZxyz(37.2888, 46.0742, 14.3245)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD4F #5D4FBD
analogous
#BD944F #AFBD4F #78BD4F
triadic
#AFBD4F #4FAFBD #BD4FAF
tetradic
#AFBD4F #4FBD94 #5D4FBD #BD4F78
square
#AFBD4F #4FBD94 #5D4FBD #BD4F78
split-complementary
#AFBD4F #4F78BD #944FBD
monochromatic
#616A28 #8A9638 #AFBD4F #C3CE7C #D7DEA8

Accessibility & contrast

On white

2.06
#AFBD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#AFBD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD4F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD4F#FFFFFF#000000##000000
##AFBD4F1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#B9B3A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd4f;
/* rgb */ color: rgb(175, 189, 79);
/* oklch */ color: oklch(76.5% 0.135 115.8);
Tailwind
colors: {
  custom: {
    50: '#c9d084',
    500: '#afbd4f',
    950: '#000000',
  },
}
SCSS
$custom: #afbd4f;
$custom-light: #c9d084;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd4f",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 79
  },
  "hsl": {
    "h": 67.636,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7654,
    "c": 0.13546,
    "h": 115.8
  },
  "luminance": 0.46074
}

Semantic roles & 50–950 ramp

primary
#AFBD4F
secondary
#A29CCC
accent
#53D563
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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