#AFBE58#AFBE58

#AFBE58 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.128 H 116.5°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#AFBE58
RGBrgb(175, 190, 88)
HSLhsl(69, 44%, 55%)
HSVhsv(69, 54%, 75%)
CMYKcmyk(7.9%, 0%, 53.7%, 25.5%)
CIE-LABlab(73.96, -19.90, 49.04)
CIE-LCHlch(73.96, 52.93, 112.08°)
OKLaboklab(76.86% -0.0573 0.115)
OKLCHoklch(76.86% 0.128 116.5)
XYZxyz(37.8547, 46.6459, 16.2400)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE58 #6758BE
analogous
#BE9A58 #AFBE58 #7CBE58
triadic
#AFBE58 #58AFBE #BE58AF
tetradic
#AFBE58 #58BE9A #6758BE #BE587C
square
#AFBE58 #58BE9A #6758BE #BE587C
split-complementary
#AFBE58 #587CBE #9A58BE
monochromatic
#66702C #8E9C3D #AFBE58 #C4CF84 #D9E0B0

Accessibility & contrast

On white

2.03
#AFBE58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#AFBE58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE58
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE58#FFFFFF#000000##000000
##AFBE581.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54E
Deuteranopia (green-blind)
#C8B75E
Tritanopia (blue-blind)
#B8B5A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe58;
/* rgb */ color: rgb(175, 190, 88);
/* oklch */ color: oklch(76.9% 0.128 116.5);
Tailwind
colors: {
  custom: {
    50: '#c9d18a',
    500: '#afbe58',
    950: '#000000',
  },
}
SCSS
$custom: #afbe58;
$custom-light: #c9d18a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe58",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 88
  },
  "hsl": {
    "h": 68.824,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76864,
    "c": 0.12849,
    "h": 116.5
  },
  "luminance": 0.46645
}

Semantic roles & 50–950 ramp

primary
#AFBE58
secondary
#AAA3CE
accent
#54D467
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBE58

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

Preview Lab → · Contrast checker → · Palette generator →

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