#AFBE4E#AFBE4E

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

Color values

HEX#AFBE4E
RGBrgb(175, 190, 78)
HSLhsl(68, 46%, 53%)
HSVhsv(68, 59%, 75%)
CMYKcmyk(7.9%, 0%, 58.9%, 25.5%)
CIE-LABlab(73.86, -20.72, 53.50)
CIE-LCHlch(73.86, 57.37, 111.18°)
OKLaboklab(76.75% -0.0606 0.1235)
OKLCHoklch(76.75% 0.138 116.1)
XYZxyz(37.4685, 46.4914, 14.2062)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE4E #5D4EBE
analogous
#BE954E #AFBE4E #77BE4E
triadic
#AFBE4E #4EAFBE #BE4EAF
tetradic
#AFBE4E #4EBE95 #5D4EBE #BE4E77
square
#AFBE4E #4EBE95 #5D4EBE #BE4E77
split-complementary
#AFBE4E #4E77BE #954EBE
monochromatic
#616A27 #8A9738 #AFBE4E #C3CE7B #D7DFA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE4E#FFFFFF#000000##000000
##AFBE4E1.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)
#CAB542
Deuteranopia (green-blind)
#C9B655
Tritanopia (blue-blind)
#B9B4A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe4e;
/* rgb */ color: rgb(175, 190, 78);
/* oklch */ color: oklch(76.8% 0.138 116.1);
Tailwind
colors: {
  custom: {
    50: '#c9d184',
    500: '#afbe4e',
    950: '#000000',
  },
}
SCSS
$custom: #afbe4e;
$custom-light: #c9d184;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe4e",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 78
  },
  "hsl": {
    "h": 68.036,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76753,
    "c": 0.13753,
    "h": 116.1
  },
  "luminance": 0.46491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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