#AFBE4B#AFBE4B

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

Color values

HEX#AFBE4B
RGBrgb(175, 190, 75)
HSLhsl(68, 47%, 52%)
HSVhsv(68, 61%, 75%)
CMYKcmyk(7.9%, 0%, 60.5%, 25.5%)
CIE-LABlab(73.84, -20.95, 54.79)
CIE-LCHlch(73.84, 58.66, 110.93°)
OKLaboklab(76.72% -0.0615 0.1258)
OKLCHoklch(76.72% 0.14 116.1)
XYZxyz(37.3634, 46.4494, 13.6526)
Luminance0.4645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE4B #5A4BBE
analogous
#BE944B #AFBE4B #76BE4B
triadic
#AFBE4B #4BAFBE #BE4BAF
tetradic
#AFBE4B #4BBE94 #5A4BBE #BE4B76
square
#AFBE4B #4BBE94 #5A4BBE #BE4B76
split-complementary
#AFBE4B #4B76BE #944BBE
monochromatic
#606926 #899636 #AFBE4B #C3CE78 #D7DEA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE4B#FFFFFF#000000##000000
##AFBE4B1.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)
#CAB53E
Deuteranopia (green-blind)
#C9B652
Tritanopia (blue-blind)
#B9B4A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe4b;
/* rgb */ color: rgb(175, 190, 75);
/* oklch */ color: oklch(76.7% 0.140 116.1);
Tailwind
colors: {
  custom: {
    50: '#c9d182',
    500: '#afbe4b',
    950: '#000000',
  },
}
SCSS
$custom: #afbe4b;
$custom-light: #c9d182;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe4b",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 75
  },
  "hsl": {
    "h": 67.826,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76722,
    "c": 0.14007,
    "h": 116.1
  },
  "luminance": 0.46449
}

Semantic roles & 50–950 ramp

primary
#AFBE4B
secondary
#A099CC
accent
#51D763
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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