#AFBC55#AFBC55

#AFBC55 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.129 H 115.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#AFBC55
RGBrgb(175, 188, 85)
HSLhsl(68, 43%, 54%)
HSVhsv(68, 55%, 74%)
CMYKcmyk(6.9%, 0%, 54.8%, 26.3%)
CIE-LABlab(73.37, -19.16, 49.76)
CIE-LCHlch(73.37, 53.33, 111.06°)
OKLaboklab(76.38% -0.0555 0.1163)
OKLCHoklch(76.38% 0.129 115.5)
XYZxyz(37.3028, 45.7368, 15.4556)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC55 #6255BC
analogous
#BC9555 #AFBC55 #7BBC55
triadic
#AFBC55 #55AFBC #BC55AF
tetradic
#AFBC55 #55BC95 #6255BC #BC557B
square
#AFBC55 #55BC95 #6255BC #BC557B
split-complementary
#AFBC55 #557BBC #9555BC
monochromatic
#646C2B #8C983C #AFBC55 #C4CD81 #D8DFAD

Accessibility & contrast

On white

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

On black

10.15
#AFBC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC55
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC55#FFFFFF#000000##000000
##AFBC551.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbc55;
/* rgb */ color: rgb(175, 188, 85);
/* oklch */ color: oklch(76.4% 0.129 115.5);
Tailwind
colors: {
  custom: {
    50: '#c9d088',
    500: '#afbc55',
    950: '#000000',
  },
}
SCSS
$custom: #afbc55;
$custom-light: #c9d088;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc55",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 85
  },
  "hsl": {
    "h": 67.573,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76383,
    "c": 0.12883,
    "h": 115.5
  },
  "luminance": 0.45736
}

Semantic roles & 50–950 ramp

primary
#AFBC55
secondary
#A6A0CC
accent
#55D365
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC55

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

Preview Lab → · Contrast checker → · Palette generator →

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