#AFBE4A#AFBE4A

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

Color values

HEX#AFBE4A
RGBrgb(175, 190, 74)
HSLhsl(68, 47%, 52%)
HSVhsv(68, 61%, 75%)
CMYKcmyk(7.9%, 0%, 61.1%, 25.5%)
CIE-LABlab(73.83, -21.02, 55.21)
CIE-LCHlch(73.83, 59.08, 110.85°)
OKLaboklab(76.71% -0.0618 0.1266)
OKLCHoklch(76.71% 0.141 116)
XYZxyz(37.3294, 46.4358, 13.4737)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE4A #594ABE
analogous
#BE934A #AFBE4A #75BE4A
triadic
#AFBE4A #4AAFBE #BE4AAF
tetradic
#AFBE4A #4ABE93 #594ABE #BE4A75
square
#AFBE4A #4ABE93 #594ABE #BE4A75
split-complementary
#AFBE4A #4A75BE #934ABE
monochromatic
#606825 #899536 #AFBE4A #C3CE77 #D7DEA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afbe4a;
/* rgb */ color: rgb(175, 190, 74);
/* oklch */ color: oklch(76.7% 0.141 116.0);
Tailwind
colors: {
  custom: {
    50: '#c9d181',
    500: '#afbe4a',
    950: '#000000',
  },
}
SCSS
$custom: #afbe4a;
$custom-light: #c9d181;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe4a",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 74
  },
  "hsl": {
    "h": 67.759,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76712,
    "c": 0.14089,
    "h": 116
  },
  "luminance": 0.46435
}

Semantic roles & 50–950 ramp

primary
#AFBE4A
secondary
#9F98CB
accent
#51D762
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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