#AFBB4A#AFBB4A

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

Color values

HEX#AFBB4A
RGBrgb(175, 187, 74)
HSLhsl(66, 45%, 51%)
HSVhsv(66, 60%, 73%)
CMYKcmyk(6.4%, 0%, 60.4%, 26.7%)
CIE-LABlab(72.99, -19.53, 54.30)
CIE-LCHlch(72.99, 57.70, 109.78°)
OKLaboklab(76.04% -0.0577 0.1247)
OKLCHoklch(76.04% 0.137 114.8)
XYZxyz(36.6864, 45.1496, 13.2594)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB4A #564ABB
analogous
#BB8E4A #AFBB4A #76BB4A
triadic
#AFBB4A #4AAFBB #BB4AAF
tetradic
#AFBB4A #4ABB8E #564ABB #BB4A76
square
#AFBB4A #4ABB8E #564ABB #BB4A76
split-complementary
#AFBB4A #4A76BB #8E4ABB
monochromatic
#5E6526 #889137 #AFBB4A #C3CC76 #D6DCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB4A#FFFFFF#000000##000000
##AFBB4A1.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)
#C7B23D
Deuteranopia (green-blind)
#C7B451
Tritanopia (blue-blind)
#B9B1A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb4a;
/* rgb */ color: rgb(175, 187, 74);
/* oklch */ color: oklch(76.0% 0.137 114.8);
Tailwind
colors: {
  custom: {
    50: '#c9cf81',
    500: '#afbb4a',
    950: '#000000',
  },
}
SCSS
$custom: #afbb4a;
$custom-light: #c9cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb4a",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 66.372,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76042,
    "c": 0.13735,
    "h": 114.8
  },
  "luminance": 0.45149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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