#AFBC4B#AFBC4B

#AFBC4B is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.138 H 115.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#AFBC4B
RGBrgb(175, 188, 75)
HSLhsl(67, 46%, 52%)
HSVhsv(67, 60%, 74%)
CMYKcmyk(6.9%, 0%, 60.1%, 26.3%)
CIE-LABlab(73.28, -19.96, 54.18)
CIE-LCHlch(73.28, 57.73, 110.22°)
OKLaboklab(76.28% -0.0587 0.1245)
OKLCHoklch(76.28% 0.138 115.3)
XYZxyz(36.9332, 45.5889, 13.5092)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC4B #584BBC
analogous
#BC914B #AFBC4B #77BC4B
triadic
#AFBC4B #4BAFBC #BC4BAF
tetradic
#AFBC4B #4BBC91 #584BBC #BC4B77
square
#AFBC4B #4BBC91 #584BBC #BC4B77
split-complementary
#AFBC4B #4B77BC #914BBC
monochromatic
#5F6626 #889337 #AFBC4B #C3CD78 #D7DDA4

Accessibility & contrast

On white

2.08
#AFBC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#AFBC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC4B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC4B#FFFFFF#000000##000000
##AFBC4B1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33E
Deuteranopia (green-blind)
#C7B552
Tritanopia (blue-blind)
#B9B2A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc4b;
/* rgb */ color: rgb(175, 188, 75);
/* oklch */ color: oklch(76.3% 0.138 115.3);
Tailwind
colors: {
  custom: {
    50: '#c9d082',
    500: '#afbc4b',
    950: '#000000',
  },
}
SCSS
$custom: #afbc4b;
$custom-light: #c9d082;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc4b",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 75
  },
  "hsl": {
    "h": 66.903,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76275,
    "c": 0.13769,
    "h": 115.3
  },
  "luminance": 0.45588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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