#AFBE60#AFBE60

#AFBE60 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.121 H 116.8°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#AFBE60
RGBrgb(175, 190, 96)
HSLhsl(70, 42%, 56%)
HSVhsv(70, 49%, 75%)
CMYKcmyk(7.9%, 0%, 49.5%, 25.5%)
CIE-LABlab(74.05, -19.16, 45.33)
CIE-LCHlch(74.05, 49.21, 112.91°)
OKLaboklab(76.96% -0.0544 0.1077)
OKLCHoklch(76.96% 0.121 116.8)
XYZxyz(38.2044, 46.7858, 18.0820)
Luminance0.4678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE60 #6F60BE
analogous
#BE9E60 #AFBE60 #80BE60
triadic
#AFBE60 #60AFBE #BE60AF
tetradic
#AFBE60 #60BE9E #6F60BE #BE6080
square
#AFBE60 #60BE9E #6F60BE #BE6080
split-complementary
#AFBE60 #6080BE #9E60BE
monochromatic
#69742F #91A041 #AFBE60 #C5D08B #DBE2B7

Accessibility & contrast

On white

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

On black

10.36
#AFBE60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE60
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE60#FFFFFF#000000##000000
##AFBE601.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B658
Deuteranopia (green-blind)
#C7B765
Tritanopia (blue-blind)
#B8B5A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe60;
/* rgb */ color: rgb(175, 190, 96);
/* oklch */ color: oklch(77.0% 0.121 116.8);
Tailwind
colors: {
  custom: {
    50: '#c8d18f',
    500: '#afbe60',
    950: '#000000',
  },
}
SCSS
$custom: #afbe60;
$custom-light: #c8d18f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe60",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 96
  },
  "hsl": {
    "h": 69.574,
    "s": 41.964,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76965,
    "c": 0.12064,
    "h": 116.8
  },
  "luminance": 0.46785
}

Semantic roles & 50–950 ramp

primary
#AFBE60
secondary
#B0A9D0
accent
#56D26A
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140D
muted
#82827D

Preview Lab

Preview with #AFBE60

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

Preview Lab → · Contrast checker → · Palette generator →

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