#AFBB4C#AFBB4C

#AFBB4C is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.136 H 114.9°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#AFBB4C
RGBrgb(175, 187, 76)
HSLhsl(66, 45%, 52%)
HSVhsv(66, 59%, 73%)
CMYKcmyk(6.4%, 0%, 59.4%, 26.7%)
CIE-LABlab(73.01, -19.38, 53.44)
CIE-LCHlch(73.01, 56.85, 109.94°)
OKLaboklab(76.06% -0.057 0.1231)
OKLCHoklch(76.06% 0.136 114.9)
XYZxyz(36.7548, 45.1770, 13.6199)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB4C #584CBB
analogous
#BB8F4C #AFBB4C #78BB4C
triadic
#AFBB4C #4CAFBB #BB4CAF
tetradic
#AFBB4C #4CBB8F #584CBB #BB4C78
square
#AFBB4C #4CBB8F #584CBB #BB4C78
split-complementary
#AFBB4C #4C78BB #8F4CBB
monochromatic
#5F6627 #889238 #AFBB4C #C3CC78 #D7DDA5

Accessibility & contrast

On white

2.09
#AFBB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#AFBB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB4C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB4C#FFFFFF#000000##000000
##AFBB4C1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23F
Deuteranopia (green-blind)
#C7B453
Tritanopia (blue-blind)
#B9B1A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb4c;
/* rgb */ color: rgb(175, 187, 76);
/* oklch */ color: oklch(76.1% 0.136 114.9);
Tailwind
colors: {
  custom: {
    50: '#c9cf82',
    500: '#afbb4c',
    950: '#000000',
  },
}
SCSS
$custom: #afbb4c;
$custom-light: #c9cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb4c",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 76
  },
  "hsl": {
    "h": 66.486,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76062,
    "c": 0.13566,
    "h": 114.9
  },
  "luminance": 0.45176
}

Semantic roles & 50–950 ramp

primary
#AFBB4C
secondary
#9E99CA
accent
#53D561
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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