#AFBE4C#AFBE4C

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

Color values

HEX#AFBE4C
RGBrgb(175, 190, 76)
HSLhsl(68, 47%, 52%)
HSVhsv(68, 60%, 75%)
CMYKcmyk(7.9%, 0%, 60%, 25.5%)
CIE-LABlab(73.85, -20.88, 54.36)
CIE-LCHlch(73.85, 58.23, 111.01°)
OKLaboklab(76.73% -0.0612 0.125)
OKLCHoklch(76.73% 0.139 116.1)
XYZxyz(37.3979, 46.4632, 13.8343)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE4C #5B4CBE
analogous
#BE944C #AFBE4C #76BE4C
triadic
#AFBE4C #4CAFBE #BE4CAF
tetradic
#AFBE4C #4CBE94 #5B4CBE #BE4C76
square
#AFBE4C #4CBE94 #5B4CBE #BE4C76
split-complementary
#AFBE4C #4C76BE #944CBE
monochromatic
#616926 #8A9637 #AFBE4C #C3CE79 #D7DFA6

Accessibility & contrast

On white

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

On black

10.29
#AFBE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE4C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE4C#FFFFFF#000000##000000
##AFBE4C1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbe4c;
/* rgb */ color: rgb(175, 190, 76);
/* oklch */ color: oklch(76.7% 0.139 116.1);
Tailwind
colors: {
  custom: {
    50: '#c9d183',
    500: '#afbe4c',
    950: '#000000',
  },
}
SCSS
$custom: #afbe4c;
$custom-light: #c9d183;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe4c",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 76
  },
  "hsl": {
    "h": 67.895,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76732,
    "c": 0.13923,
    "h": 116.1
  },
  "luminance": 0.46463
}

Semantic roles & 50–950 ramp

primary
#AFBE4C
secondary
#A19ACC
accent
#51D663
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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