#AFBC4C#AFBC4C

#AFBC4C is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.137 H 115.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#AFBC4C
RGBrgb(175, 188, 76)
HSLhsl(67, 46%, 52%)
HSVhsv(67, 60%, 74%)
CMYKcmyk(6.9%, 0%, 59.6%, 26.3%)
CIE-LABlab(73.29, -19.88, 53.75)
CIE-LCHlch(73.29, 57.31, 110.30°)
OKLaboklab(76.29% -0.0584 0.1237)
OKLCHoklch(76.29% 0.137 115.3)
XYZxyz(36.9677, 45.6027, 13.6909)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC4C #594CBC
analogous
#BC914C #AFBC4C #77BC4C
triadic
#AFBC4C #4CAFBC #BC4CAF
tetradic
#AFBC4C #4CBC91 #594CBC #BC4C77
square
#AFBC4C #4CBC91 #594CBC #BC4C77
split-complementary
#AFBC4C #4C77BC #914CBC
monochromatic
#606727 #899437 #AFBC4C #C3CD79 #D7DDA5

Accessibility & contrast

On white

2.08
#AFBC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#AFBC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC4C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC4C#FFFFFF#000000##000000
##AFBC4C1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33F
Deuteranopia (green-blind)
#C7B553
Tritanopia (blue-blind)
#B9B2A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc4c;
/* rgb */ color: rgb(175, 188, 76);
/* oklch */ color: oklch(76.3% 0.137 115.3);
Tailwind
colors: {
  custom: {
    50: '#c9d082',
    500: '#afbc4c',
    950: '#000000',
  },
}
SCSS
$custom: #afbc4c;
$custom-light: #c9d082;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc4c",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 76
  },
  "hsl": {
    "h": 66.964,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76285,
    "c": 0.13685,
    "h": 115.3
  },
  "luminance": 0.45602
}

Semantic roles & 50–950 ramp

primary
#AFBC4C
secondary
#9F99CA
accent
#53D562
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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