#AFBC3C#AFBC3C

#AFBC3C is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.1% C 0.149 H 115.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#AFBC3C
RGBrgb(175, 188, 60)
HSLhsl(66, 52%, 49%)
HSVhsv(66, 68%, 74%)
CMYKcmyk(6.9%, 0%, 68.1%, 26.3%)
CIE-LABlab(73.16, -20.95, 60.25)
CIE-LCHlch(73.16, 63.78, 109.17°)
OKLaboklab(76.14% -0.063 0.1352)
OKLCHoklch(76.14% 0.149 115)
XYZxyz(36.4790, 45.4073, 11.1169)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC3C #493CBC
analogous
#BC893C #AFBC3C #6FBC3C
triadic
#AFBC3C #3CAFBC #BC3CAF
tetradic
#AFBC3C #3CBC89 #493CBC #BC3C6F
square
#AFBC3C #3CBC89 #493CBC #BC3C6F
split-complementary
#AFBC3C #3C6FBC #893CBC
monochromatic
#595F1E #848E2D #AFBC3C #C4CE67 #D6DD95

Accessibility & contrast

On white

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

On black

10.08
#AFBC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC3C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC3C#FFFFFF#000000##000000
##AFBC3C1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B328
Deuteranopia (green-blind)
#C8B545
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc3c;
/* rgb */ color: rgb(175, 188, 60);
/* oklch */ color: oklch(76.1% 0.149 115.0);
Tailwind
colors: {
  custom: {
    50: '#cad079',
    500: '#afbc3c',
    950: '#000000',
  },
}
SCSS
$custom: #afbc3c;
$custom-light: #cad079;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc3c",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 60
  },
  "hsl": {
    "h": 66.094,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76142,
    "c": 0.14915,
    "h": 115
  },
  "luminance": 0.45407
}

Semantic roles & 50–950 ramp

primary
#AFBC3C
secondary
#918BC9
accent
#4DDB5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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