#AFBB57#AFBB57

#AFBB57 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.2% C 0.126 H 115.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#AFBB57
RGBrgb(175, 187, 87)
HSLhsl(67, 42%, 54%)
HSVhsv(67, 53%, 73%)
CMYKcmyk(6.4%, 0%, 53.5%, 26.7%)
CIE-LABlab(73.12, -18.48, 48.53)
CIE-LCHlch(73.12, 51.93, 110.85°)
OKLaboklab(76.18% -0.0534 0.1138)
OKLCHoklch(76.18% 0.126 115.1)
XYZxyz(37.1705, 45.3432, 15.8090)
Luminance0.4534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB57 #6357BB
analogous
#BB9557 #AFBB57 #7DBB57
triadic
#AFBB57 #57AFBB #BB57AF
tetradic
#AFBB57 #57BB95 #6357BB #BB577D
square
#AFBB57 #57BB95 #6357BB #BB577D
split-complementary
#AFBB57 #577DBB #9557BB
monochromatic
#646C2C #8D973D #AFBB57 #C4CD83 #D8DEAE

Accessibility & contrast

On white

2.09
#AFBB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#AFBB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB57
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB57#FFFFFF#000000##000000
##AFBB571.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#C6B45D
Tritanopia (blue-blind)
#B9B2A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb57;
/* rgb */ color: rgb(175, 187, 87);
/* oklch */ color: oklch(76.2% 0.126 115.1);
Tailwind
colors: {
  custom: {
    50: '#c9cf89',
    500: '#afbb57',
    950: '#000000',
  },
}
SCSS
$custom: #afbb57;
$custom-light: #c9cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb57",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 67.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76184,
    "c": 0.12571,
    "h": 115.1
  },
  "luminance": 0.45343
}

Semantic roles & 50–950 ramp

primary
#AFBB57
secondary
#A7A2CC
accent
#56D265
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB57

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

Preview Lab → · Contrast checker → · Palette generator →

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