#AFBC4D#AFBC4D

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

Color values

HEX#AFBC4D
RGBrgb(175, 188, 77)
HSLhsl(67, 45%, 52%)
HSVhsv(67, 59%, 74%)
CMYKcmyk(6.9%, 0%, 59%, 26.3%)
CIE-LABlab(73.30, -19.81, 53.31)
CIE-LCHlch(73.30, 56.87, 110.38°)
OKLaboklab(76.3% -0.0581 0.123)
OKLCHoklch(76.3% 0.136 115.3)
XYZxyz(37.0027, 45.6168, 13.8754)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC4D #5A4DBC
analogous
#BC924D #AFBC4D #78BC4D
triadic
#AFBC4D #4DAFBC #BC4DAF
tetradic
#AFBC4D #4DBC92 #5A4DBC #BC4D78
square
#AFBC4D #4DBC92 #5A4DBC #BC4D78
split-complementary
#AFBC4D #4D78BC #924DBC
monochromatic
#606827 #899438 #AFBC4D #C3CD79 #D7DDA6

Accessibility & contrast

On white

2.07
#AFBC4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC4D#FFFFFF#000000##000000
##AFBC4D1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbc4d;
/* rgb */ color: rgb(175, 188, 77);
/* oklch */ color: oklch(76.3% 0.136 115.3);
Tailwind
colors: {
  custom: {
    50: '#c9d083',
    500: '#afbc4d',
    950: '#000000',
  },
}
SCSS
$custom: #afbc4d;
$custom-light: #c9d083;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc4d",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 77
  },
  "hsl": {
    "h": 67.027,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76295,
    "c": 0.13599,
    "h": 115.3
  },
  "luminance": 0.45616
}

Semantic roles & 50–950 ramp

primary
#AFBC4D
secondary
#A09ACB
accent
#53D562
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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