#AFBD4B#AFBD4B

#AFBD4B is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.139 H 115.7°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#AFBD4B
RGBrgb(175, 189, 75)
HSLhsl(67, 46%, 52%)
HSVhsv(67, 60%, 74%)
CMYKcmyk(7.4%, 0%, 60.3%, 25.9%)
CIE-LABlab(73.56, -20.45, 54.48)
CIE-LCHlch(73.56, 58.19, 110.58°)
OKLaboklab(76.5% -0.0601 0.1252)
OKLCHoklch(76.5% 0.139 115.7)
XYZxyz(37.1476, 46.0177, 13.5806)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD4B #594BBD
analogous
#BD924B #AFBD4B #76BD4B
triadic
#AFBD4B #4BAFBD #BD4BAF
tetradic
#AFBD4B #4BBD92 #594BBD #BD4B76
square
#AFBD4B #4BBD92 #594BBD #BD4B76
split-complementary
#AFBD4B #4B76BD #924BBD
monochromatic
#606826 #899436 #AFBD4B #C3CD78 #D7DEA5

Accessibility & contrast

On white

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

On black

10.20
#AFBD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD4B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD4B#FFFFFF#000000##000000
##AFBD4B1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbd4b;
/* rgb */ color: rgb(175, 189, 75);
/* oklch */ color: oklch(76.5% 0.139 115.7);
Tailwind
colors: {
  custom: {
    50: '#c9d082',
    500: '#afbd4b',
    950: '#000000',
  },
}
SCSS
$custom: #afbd4b;
$custom-light: #c9d082;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd4b",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 75
  },
  "hsl": {
    "h": 67.368,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76499,
    "c": 0.13887,
    "h": 115.7
  },
  "luminance": 0.46017
}

Semantic roles & 50–950 ramp

primary
#AFBD4B
secondary
#9F99CB
accent
#52D662
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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