#AFBC4A#AFBC4A

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

Color values

HEX#AFBC4A
RGBrgb(175, 188, 74)
HSLhsl(67, 46%, 51%)
HSVhsv(67, 61%, 74%)
CMYKcmyk(6.9%, 0%, 60.6%, 26.3%)
CIE-LABlab(73.27, -20.03, 54.60)
CIE-LCHlch(73.27, 58.16, 110.14°)
OKLaboklab(76.27% -0.0591 0.1253)
OKLCHoklch(76.27% 0.139 115.2)
XYZxyz(36.8992, 45.5754, 13.3303)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC4A #574ABC
analogous
#BC904A #AFBC4A #76BC4A
triadic
#AFBC4A #4AAFBC #BC4AAF
tetradic
#AFBC4A #4ABC90 #574ABC #BC4A76
square
#AFBC4A #4ABC90 #574ABC #BC4A76
split-complementary
#AFBC4A #4A76BC #904ABC
monochromatic
#5F6626 #889336 #AFBC4A #C3CD77 #D6DDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC4A#FFFFFF#000000##000000
##AFBC4A1.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)
#C8B33D
Deuteranopia (green-blind)
#C8B551
Tritanopia (blue-blind)
#B9B2A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc4a;
/* rgb */ color: rgb(175, 188, 74);
/* oklch */ color: oklch(76.3% 0.139 115.2);
Tailwind
colors: {
  custom: {
    50: '#c9d081',
    500: '#afbc4a',
    950: '#000000',
  },
}
SCSS
$custom: #afbc4a;
$custom-light: #c9d081;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc4a",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 74
  },
  "hsl": {
    "h": 66.842,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76265,
    "c": 0.13852,
    "h": 115.2
  },
  "luminance": 0.45575
}

Semantic roles & 50–950 ramp

primary
#AFBC4A
secondary
#9E98CA
accent
#52D661
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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