#AFBC62#AFBC62

#AFBC62 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.116 H 116.0°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#AFBC62
RGBrgb(175, 188, 98)
HSLhsl(69, 40%, 56%)
HSVhsv(69, 48%, 74%)
CMYKcmyk(6.9%, 0%, 47.9%, 26.3%)
CIE-LABlab(73.52, -17.95, 43.71)
CIE-LCHlch(73.52, 47.26, 112.33°)
OKLaboklab(76.55% -0.0508 0.1043)
OKLCHoklch(76.55% 0.116 116)
XYZxyz(37.8675, 45.9627, 18.4297)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC62 #6F62BC
analogous
#BC9C62 #AFBC62 #82BC62
triadic
#AFBC62 #62AFBC #BC62AF
tetradic
#AFBC62 #62BC9C #6F62BC #BC6282
square
#AFBC62 #62BC9C #6F62BC #BC6282
split-complementary
#AFBC62 #6282BC #9C62BC
monochromatic
#697331 #919E43 #AFBC62 #C5CE8D #DBE1B8

Accessibility & contrast

On white

2.06
#AFBC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#AFBC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC62
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC62#FFFFFF#000000##000000
##AFBC621.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#C6B567
Tritanopia (blue-blind)
#B8B3A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc62;
/* rgb */ color: rgb(175, 188, 98);
/* oklch */ color: oklch(76.5% 0.116 116.0);
Tailwind
colors: {
  custom: {
    50: '#c8d091',
    500: '#afbc62',
    950: '#000000',
  },
}
SCSS
$custom: #afbc62;
$custom-light: #c8d091;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc62",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 98
  },
  "hsl": {
    "h": 68.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76548,
    "c": 0.116,
    "h": 116
  },
  "luminance": 0.45962
}

Semantic roles & 50–950 ramp

primary
#AFBC62
secondary
#B0AACF
accent
#58D069
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBC62

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

Preview Lab → · Contrast checker → · Palette generator →

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