#AFBE4F#AFBE4F

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

Color values

HEX#AFBE4F
RGBrgb(175, 190, 79)
HSLhsl(68, 46%, 53%)
HSVhsv(68, 58%, 75%)
CMYKcmyk(7.9%, 0%, 58.4%, 25.5%)
CIE-LABlab(73.87, -20.65, 53.06)
CIE-LCHlch(73.87, 56.94, 111.26°)
OKLaboklab(76.76% -0.0603 0.1227)
OKLCHoklch(76.76% 0.137 116.2)
XYZxyz(37.5046, 46.5059, 14.3964)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE4F #5E4FBE
analogous
#BE954F #AFBE4F #77BE4F
triadic
#AFBE4F #4FAFBE #BE4FAF
tetradic
#AFBE4F #4FBE95 #5E4FBE #BE4F77
square
#AFBE4F #4FBE95 #5E4FBE #BE4F77
split-complementary
#AFBE4F #4F77BE #954FBE
monochromatic
#626B28 #8B9838 #AFBE4F #C3CF7C #D8DFA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE4F#FFFFFF#000000##000000
##AFBE4F1.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)
#CAB543
Deuteranopia (green-blind)
#C9B656
Tritanopia (blue-blind)
#B9B4A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe4f;
/* rgb */ color: rgb(175, 190, 79);
/* oklch */ color: oklch(76.8% 0.137 116.2);
Tailwind
colors: {
  custom: {
    50: '#c9d184',
    500: '#afbe4f',
    950: '#000000',
  },
}
SCSS
$custom: #afbe4f;
$custom-light: #c9d184;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe4f",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 68.108,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76763,
    "c": 0.13667,
    "h": 116.2
  },
  "luminance": 0.46505
}

Semantic roles & 50–950 ramp

primary
#AFBE4F
secondary
#A39CCC
accent
#52D664
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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