#AFBE3A#AFBE3A

#AFBE3A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.6% C 0.153 H 115.7°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#AFBE3A
RGBrgb(175, 190, 58)
HSLhsl(67, 53%, 49%)
HSVhsv(67, 69%, 75%)
CMYKcmyk(7.9%, 0%, 69.5%, 25.5%)
CIE-LABlab(73.71, -22.05, 61.55)
CIE-LCHlch(73.71, 65.38, 109.71°)
OKLaboklab(76.58% -0.0663 0.1376)
OKLCHoklch(76.58% 0.153 115.7)
XYZxyz(36.8573, 46.2469, 10.9871)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE3A #493ABE
analogous
#BE8B3A #AFBE3A #6DBE3A
triadic
#AFBE3A #3AAFBE #BE3AAF
tetradic
#AFBE3A #3ABE8B #493ABE #BE3A6D
square
#AFBE3A #3ABE8B #493ABE #BE3A6D
split-complementary
#AFBE3A #3A6DBE #8B3ABE
monochromatic
#59601D #848F2C #AFBE3A #C4D065 #D6DE94

Accessibility & contrast

On white

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

On black

10.25
#AFBE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE3A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE3A#FFFFFF#000000##000000
##AFBE3A1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbe3a;
/* rgb */ color: rgb(175, 190, 58);
/* oklch */ color: oklch(76.6% 0.153 115.7);
Tailwind
colors: {
  custom: {
    50: '#cad178',
    500: '#afbe3a',
    950: '#000000',
  },
}
SCSS
$custom: #afbe3a;
$custom-light: #cad178;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe3a",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 58
  },
  "hsl": {
    "h": 66.818,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76576,
    "c": 0.15273,
    "h": 115.7
  },
  "luminance": 0.46246
}

Semantic roles & 50–950 ramp

primary
#AFBE3A
secondary
#918ACA
accent
#4BDD5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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