#AFBB4B#AFBB4B

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

Color values

HEX#AFBB4B
RGBrgb(175, 187, 75)
HSLhsl(66, 45%, 51%)
HSVhsv(66, 60%, 73%)
CMYKcmyk(6.4%, 0%, 59.9%, 26.7%)
CIE-LABlab(73.00, -19.46, 53.87)
CIE-LCHlch(73.00, 57.28, 109.86°)
OKLaboklab(76.05% -0.0573 0.1239)
OKLCHoklch(76.05% 0.137 114.8)
XYZxyz(36.7203, 45.1632, 13.4382)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB4B #574BBB
analogous
#BB8F4B #AFBB4B #77BB4B
triadic
#AFBB4B #4BAFBB #BB4BAF
tetradic
#AFBB4B #4BBB8F #574BBB #BB4B77
square
#AFBB4B #4BBB8F #574BBB #BB4B77
split-complementary
#AFBB4B #4B77BB #8F4BBB
monochromatic
#5F6526 #889237 #AFBB4B #C3CC77 #D6DDA4

Accessibility & contrast

On white

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

On black

10.03
#AFBB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB4B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB4B#FFFFFF#000000##000000
##AFBB4B1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb4b;
/* rgb */ color: rgb(175, 187, 75);
/* oklch */ color: oklch(76.1% 0.137 114.8);
Tailwind
colors: {
  custom: {
    50: '#c9cf82',
    500: '#afbb4b',
    950: '#000000',
  },
}
SCSS
$custom: #afbb4b;
$custom-light: #c9cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb4b",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 75
  },
  "hsl": {
    "h": 66.429,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76052,
    "c": 0.13651,
    "h": 114.8
  },
  "luminance": 0.45163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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