#AFBB58#AFBB58

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

Color values

HEX#AFBB58
RGBrgb(175, 187, 88)
HSLhsl(67, 42%, 54%)
HSVhsv(67, 53%, 73%)
CMYKcmyk(6.4%, 0%, 52.9%, 26.7%)
CIE-LABlab(73.13, -18.40, 48.07)
CIE-LCHlch(73.13, 51.47, 110.94°)
OKLaboklab(76.2% -0.053 0.1129)
OKLCHoklch(76.2% 0.125 115.1)
XYZxyz(37.2116, 45.3597, 16.0256)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB58 #6458BB
analogous
#BB9658 #AFBB58 #7EBB58
triadic
#AFBB58 #58AFBB #BB58AF
tetradic
#AFBB58 #58BB96 #6458BB #BB587E
square
#AFBB58 #58BB96 #6458BB #BB587E
split-complementary
#AFBB58 #587EBB #9658BB
monochromatic
#656C2C #8D983E #AFBB58 #C4CD83 #D9DEAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB58#FFFFFF#000000##000000
##AFBB581.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)
#C7B34E
Deuteranopia (green-blind)
#C6B45E
Tritanopia (blue-blind)
#B9B2A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb58;
/* rgb */ color: rgb(175, 187, 88);
/* oklch */ color: oklch(76.2% 0.125 115.1);
Tailwind
colors: {
  custom: {
    50: '#c9cf8a',
    500: '#afbb58',
    950: '#000000',
  },
}
SCSS
$custom: #afbb58;
$custom-light: #c9cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb58",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 88
  },
  "hsl": {
    "h": 67.273,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76196,
    "c": 0.12476,
    "h": 115.1
  },
  "luminance": 0.45359
}

Semantic roles & 50–950 ramp

primary
#AFBB58
secondary
#A7A2CD
accent
#56D265
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB58

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

Preview Lab → · Contrast checker → · Palette generator →

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