#AFBB4E#AFBB4E

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

Color values

HEX#AFBB4E
RGBrgb(175, 187, 78)
HSLhsl(67, 44%, 52%)
HSVhsv(67, 58%, 73%)
CMYKcmyk(6.4%, 0%, 58.3%, 26.7%)
CIE-LABlab(73.03, -19.23, 52.57)
CIE-LCHlch(73.03, 55.98, 110.09°)
OKLaboklab(76.08% -0.0564 0.1215)
OKLCHoklch(76.08% 0.134 114.9)
XYZxyz(36.8254, 45.2052, 13.9918)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB4E #5A4EBB
analogous
#BB914E #AFBB4E #78BB4E
triadic
#AFBB4E #4EAFBB #BB4EAF
tetradic
#AFBB4E #4EBB91 #5A4EBB #BB4E78
square
#AFBB4E #4EBB91 #5A4EBB #BB4E78
split-complementary
#AFBB4E #4E78BB #914EBB
monochromatic
#606728 #899339 #AFBB4E #C3CC7A #D7DDA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB4E#FFFFFF#000000##000000
##AFBB4E1.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)
#C7B242
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#B9B1A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb4e;
/* rgb */ color: rgb(175, 187, 78);
/* oklch */ color: oklch(76.1% 0.134 114.9);
Tailwind
colors: {
  custom: {
    50: '#c9cf84',
    500: '#afbb4e',
    950: '#000000',
  },
}
SCSS
$custom: #afbb4e;
$custom-light: #c9cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb4e",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 66.606,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76083,
    "c": 0.13393,
    "h": 114.9
  },
  "luminance": 0.45205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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