#AFBE4D#AFBE4D

#AFBE4D is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.7% C 0.138 H 116.1°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#AFBE4D
RGBrgb(175, 190, 77)
HSLhsl(68, 47%, 52%)
HSVhsv(68, 59%, 75%)
CMYKcmyk(7.9%, 0%, 59.5%, 25.5%)
CIE-LABlab(73.85, -20.80, 53.93)
CIE-LCHlch(73.85, 57.80, 111.09°)
OKLaboklab(76.74% -0.0609 0.1243)
OKLCHoklch(76.74% 0.138 116.1)
XYZxyz(37.4329, 46.4772, 14.0188)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE4D #5C4DBE
analogous
#BE954D #AFBE4D #76BE4D
triadic
#AFBE4D #4DAFBE #BE4DAF
tetradic
#AFBE4D #4DBE95 #5C4DBE #BE4D76
square
#AFBE4D #4DBE95 #5C4DBE #BE4D76
split-complementary
#AFBE4D #4D76BE #954DBE
monochromatic
#616A27 #8A9737 #AFBE4D #C3CE7A #D7DFA7

Accessibility & contrast

On white

2.04
#AFBE4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#AFBE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE4D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE4D#FFFFFF#000000##000000
##AFBE4D1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB540
Deuteranopia (green-blind)
#C9B654
Tritanopia (blue-blind)
#B9B4A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe4d;
/* rgb */ color: rgb(175, 190, 77);
/* oklch */ color: oklch(76.7% 0.138 116.1);
Tailwind
colors: {
  custom: {
    50: '#c9d183',
    500: '#afbe4d',
    950: '#000000',
  },
}
SCSS
$custom: #afbe4d;
$custom-light: #c9d183;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe4d",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 77
  },
  "hsl": {
    "h": 67.965,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76742,
    "c": 0.13839,
    "h": 116.1
  },
  "luminance": 0.46477
}

Semantic roles & 50–950 ramp

primary
#AFBE4D
secondary
#A19BCC
accent
#52D663
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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