#AFBF5D#AFBF5D

#AFBF5D is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.125 H 117.1°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#AFBF5D
RGBrgb(175, 191, 93)
HSLhsl(70, 43%, 56%)
HSVhsv(70, 51%, 75%)
CMYKcmyk(8.4%, 0%, 51.3%, 25.1%)
CIE-LABlab(74.30, -19.94, 47.07)
CIE-LCHlch(74.30, 51.12, 112.96°)
OKLaboklab(77.15% -0.0569 0.1112)
OKLCHoklch(77.15% 0.125 117.1)
XYZxyz(38.2863, 47.1662, 17.4409)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF5D #6D5DBF
analogous
#BF9E5D #AFBF5D #7EBF5D
triadic
#AFBF5D #5DAFBF #BF5DAF
tetradic
#AFBF5D #5DBF9E #6D5DBF #BF5D7E
square
#AFBF5D #5DBF9E #6D5DBF #BF5D7E
split-complementary
#AFBF5D #5D7EBF #9E5DBF
monochromatic
#68742E #90A03F #AFBF5D #C5D089 #DAE2B5

Accessibility & contrast

On white

2.01
#AFBF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#AFBF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF5D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF5D#FFFFFF#000000##000000
##AFBF5D1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB654
Deuteranopia (green-blind)
#C9B762
Tritanopia (blue-blind)
#B8B6A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf5d;
/* rgb */ color: rgb(175, 191, 93);
/* oklch */ color: oklch(77.1% 0.125 117.1);
Tailwind
colors: {
  custom: {
    50: '#c9d28d',
    500: '#afbf5d',
    950: '#000000',
  },
}
SCSS
$custom: #afbf5d;
$custom-light: #c9d28d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf5d",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 93
  },
  "hsl": {
    "h": 69.796,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77149,
    "c": 0.12493,
    "h": 117.1
  },
  "luminance": 0.47166
}

Semantic roles & 50–950 ramp

primary
#AFBF5D
secondary
#AEA8D0
accent
#55D369
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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