#AFBC60#AFBC60

#AFBC60 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.118 H 115.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#AFBC60
RGBrgb(175, 188, 96)
HSLhsl(68, 41%, 56%)
HSVhsv(68, 49%, 74%)
CMYKcmyk(6.9%, 0%, 48.9%, 26.3%)
CIE-LABlab(73.50, -18.15, 44.66)
CIE-LCHlch(73.50, 48.21, 112.12°)
OKLaboklab(76.52% -0.0516 0.1062)
OKLCHoklch(76.52% 0.118 115.9)
XYZxyz(37.7742, 45.9254, 17.9386)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC60 #6D60BC
analogous
#BC9B60 #AFBC60 #81BC60
triadic
#AFBC60 #60AFBC #BC60AF
tetradic
#AFBC60 #60BC9B #6D60BC #BC6081
square
#AFBC60 #60BC9B #6D60BC #BC6081
split-complementary
#AFBC60 #6081BC #9B60BC
monochromatic
#687230 #909D42 #AFBC60 #C5CE8B #DAE0B6

Accessibility & contrast

On white

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

On black

10.18
#AFBC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC60
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC60#FFFFFF#000000##000000
##AFBC601.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbc60;
/* rgb */ color: rgb(175, 188, 96);
/* oklch */ color: oklch(76.5% 0.118 115.9);
Tailwind
colors: {
  custom: {
    50: '#c8d08f',
    500: '#afbc60',
    950: '#000000',
  },
}
SCSS
$custom: #afbc60;
$custom-light: #c8d08f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc60",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 96
  },
  "hsl": {
    "h": 68.478,
    "s": 40.708,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76521,
    "c": 0.11806,
    "h": 115.9
  },
  "luminance": 0.45925
}

Semantic roles & 50–950 ramp

primary
#AFBC60
secondary
#AEA9CF
accent
#57D168
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC60

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

Preview Lab → · Contrast checker → · Palette generator →

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