#AFBB4F#AFBB4F

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

Color values

HEX#AFBB4F
RGBrgb(175, 187, 79)
HSLhsl(67, 44%, 52%)
HSVhsv(67, 58%, 73%)
CMYKcmyk(6.4%, 0%, 57.8%, 26.7%)
CIE-LABlab(73.04, -19.15, 52.13)
CIE-LCHlch(73.04, 55.54, 110.17°)
OKLaboklab(76.09% -0.0561 0.1207)
OKLCHoklch(76.09% 0.133 114.9)
XYZxyz(36.8615, 45.2197, 14.1821)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB4F #5B4FBB
analogous
#BB914F #AFBB4F #79BB4F
triadic
#AFBB4F #4FAFBB #BB4FAF
tetradic
#AFBB4F #4FBB91 #5B4FBB #BB4F79
square
#AFBB4F #4FBB91 #5B4FBB #BB4F79
split-complementary
#AFBB4F #4F79BB #914FBB
monochromatic
#616828 #8A9439 #AFBB4F #C3CC7B #D7DDA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB4F#FFFFFF#000000##000000
##AFBB4F1.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)
#C7B243
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#B9B1A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb4f;
/* rgb */ color: rgb(175, 187, 79);
/* oklch */ color: oklch(76.1% 0.133 114.9);
Tailwind
colors: {
  custom: {
    50: '#c9cf84',
    500: '#afbb4f',
    950: '#000000',
  },
}
SCSS
$custom: #afbb4f;
$custom-light: #c9cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb4f",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 66.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.13306,
    "h": 114.9
  },
  "luminance": 0.45219
}

Semantic roles & 50–950 ramp

primary
#AFBB4F
secondary
#A19BCA
accent
#54D462
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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