#AFBC50#AFBC50

#AFBC50 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.3% C 0.133 H 115.4°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#AFBC50
RGBrgb(175, 188, 80)
HSLhsl(67, 45%, 53%)
HSVhsv(67, 57%, 74%)
CMYKcmyk(6.9%, 0%, 57.4%, 26.3%)
CIE-LABlab(73.32, -19.57, 52.00)
CIE-LCHlch(73.32, 55.56, 110.62°)
OKLaboklab(76.33% -0.0571 0.1205)
OKLCHoklch(76.33% 0.133 115.4)
XYZxyz(37.1111, 45.6601, 14.4462)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC50 #5D50BC
analogous
#BC9350 #AFBC50 #79BC50
triadic
#AFBC50 #50AFBC #BC50AF
tetradic
#AFBC50 #50BC93 #5D50BC #BC5079
square
#AFBC50 #50BC93 #5D50BC #BC5079
split-complementary
#AFBC50 #5079BC #9350BC
monochromatic
#616928 #8A9639 #AFBC50 #C3CD7C #D7DEA9

Accessibility & contrast

On white

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

On black

10.13
#AFBC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC50
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC50#FFFFFF#000000##000000
##AFBC501.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B344
Deuteranopia (green-blind)
#C7B557
Tritanopia (blue-blind)
#B9B2A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc50;
/* rgb */ color: rgb(175, 188, 80);
/* oklch */ color: oklch(76.3% 0.133 115.4);
Tailwind
colors: {
  custom: {
    50: '#c9d085',
    500: '#afbc50',
    950: '#000000',
  },
}
SCSS
$custom: #afbc50;
$custom-light: #c9d085;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc50",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 80
  },
  "hsl": {
    "h": 67.222,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76327,
    "c": 0.13337,
    "h": 115.4
  },
  "luminance": 0.4566
}

Semantic roles & 50–950 ramp

primary
#AFBC50
secondary
#A29CCB
accent
#53D463
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBC50

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

Preview Lab → · Contrast checker → · Palette generator →

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