#AFBC57#AFBC57

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

Color values

HEX#AFBC57
RGBrgb(175, 188, 87)
HSLhsl(68, 43%, 54%)
HSVhsv(68, 54%, 74%)
CMYKcmyk(6.9%, 0%, 53.7%, 26.3%)
CIE-LABlab(73.40, -18.99, 48.85)
CIE-LCHlch(73.40, 52.41, 111.24°)
OKLaboklab(76.41% -0.0548 0.1145)
OKLCHoklch(76.41% 0.127 115.6)
XYZxyz(37.3833, 45.7690, 15.8799)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC57 #6457BC
analogous
#BC9757 #AFBC57 #7DBC57
triadic
#AFBC57 #57AFBC #BC57AF
tetradic
#AFBC57 #57BC97 #6457BC #BC577D
square
#AFBC57 #57BC97 #6457BC #BC577D
split-complementary
#AFBC57 #577DBC #9757BC
monochromatic
#656D2C #8D993D #AFBC57 #C4CD83 #D9DFAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC57#FFFFFF#000000##000000
##AFBC571.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)
#C8B44D
Deuteranopia (green-blind)
#C7B55D
Tritanopia (blue-blind)
#B9B3A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc57;
/* rgb */ color: rgb(175, 188, 87);
/* oklch */ color: oklch(76.4% 0.127 115.6);
Tailwind
colors: {
  custom: {
    50: '#c9d089',
    500: '#afbc57',
    950: '#000000',
  },
}
SCSS
$custom: #afbc57;
$custom-light: #c9d089;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc57",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 67.723,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76407,
    "c": 0.12695,
    "h": 115.6
  },
  "luminance": 0.45769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBC57

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

Preview Lab → · Contrast checker → · Palette generator →

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