#AFBE3D#AFBE3D

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

Color values

HEX#AFBE3D
RGBrgb(175, 190, 61)
HSLhsl(67, 51%, 49%)
HSVhsv(67, 68%, 75%)
CMYKcmyk(7.9%, 0%, 67.9%, 25.5%)
CIE-LABlab(73.73, -21.88, 60.43)
CIE-LCHlch(73.73, 64.27, 109.90°)
OKLaboklab(76.6% -0.0655 0.1357)
OKLCHoklch(76.6% 0.151 115.8)
XYZxyz(36.9359, 46.2783, 11.4008)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE3D #4C3DBE
analogous
#BE8D3D #AFBE3D #6FBE3D
triadic
#AFBE3D #3DAFBE #BE3DAF
tetradic
#AFBE3D #3DBE8D #4C3DBE #BE3D6F
square
#AFBE3D #3DBE8D #4C3DBE #BE3D6F
split-complementary
#AFBE3D #3D6FBE #8D3DBE
monochromatic
#5A611F #84902E #AFBE3D #C3CF69 #D6DE98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE3D#FFFFFF#000000##000000
##AFBE3D1.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)
#CBB429
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe3d;
/* rgb */ color: rgb(175, 190, 61);
/* oklch */ color: oklch(76.6% 0.151 115.8);
Tailwind
colors: {
  custom: {
    50: '#cad17a',
    500: '#afbe3d',
    950: '#000000',
  },
}
SCSS
$custom: #afbe3d;
$custom-light: #cad17a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe3d",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 61
  },
  "hsl": {
    "h": 66.977,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76598,
    "c": 0.15072,
    "h": 115.8
  },
  "luminance": 0.46278
}

Semantic roles & 50–950 ramp

primary
#AFBE3D
secondary
#948DC9
accent
#4DDB5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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