#AFBE3F#AFBE3F

#AFBE3F is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.149 H 115.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#AFBE3F
RGBrgb(175, 190, 63)
HSLhsl(67, 50%, 50%)
HSVhsv(67, 67%, 75%)
CMYKcmyk(7.9%, 0%, 66.8%, 25.5%)
CIE-LABlab(73.74, -21.76, 59.67)
CIE-LCHlch(73.74, 63.51, 110.03°)
OKLaboklab(76.61% -0.065 0.1344)
OKLCHoklch(76.61% 0.149 115.8)
XYZxyz(36.9907, 46.3003, 11.6899)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE3F #4E3FBE
analogous
#BE8E3F #AFBE3F #6FBE3F
triadic
#AFBE3F #3FAFBE #BE3FAF
tetradic
#AFBE3F #3FBE8E #4E3FBE #BE3F6F
square
#AFBE3F #3FBE8E #4E3FBE #BE3F6F
split-complementary
#AFBE3F #3F6FBE #8E3FBE
monochromatic
#5A6221 #859030 #AFBE3F #C3CE6C #D6DD9A

Accessibility & contrast

On white

2.05
#AFBE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#AFBE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE3F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE3F#FFFFFF#000000##000000
##AFBE3F1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42D
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe3f;
/* rgb */ color: rgb(175, 190, 63);
/* oklch */ color: oklch(76.6% 0.149 115.8);
Tailwind
colors: {
  custom: {
    50: '#cad17b',
    500: '#afbe3f',
    950: '#000000',
  },
}
SCSS
$custom: #afbe3f;
$custom-light: #cad17b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe3f",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 63
  },
  "hsl": {
    "h": 67.087,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76614,
    "c": 0.14932,
    "h": 115.8
  },
  "luminance": 0.463
}

Semantic roles & 50–950 ramp

primary
#AFBE3F
secondary
#968FC9
accent
#4EDA5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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