#AFBC45#AFBC45

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

Color values

HEX#AFBC45
RGBrgb(175, 188, 69)
HSLhsl(67, 47%, 50%)
HSVhsv(67, 63%, 74%)
CMYKcmyk(6.9%, 0%, 63.3%, 26.3%)
CIE-LABlab(73.23, -20.38, 56.69)
CIE-LCHlch(73.23, 60.25, 109.77°)
OKLaboklab(76.22% -0.0606 0.129)
OKLCHoklch(76.22% 0.143 115.1)
XYZxyz(36.7374, 45.5106, 12.4782)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC45 #5245BC
analogous
#BC8E45 #AFBC45 #73BC45
triadic
#AFBC45 #45AFBC #BC45AF
tetradic
#AFBC45 #45BC8E #5245BC #BC4573
square
#AFBC45 #45BC8E #5245BC #BC4573
split-complementary
#AFBC45 #4573BC #8E45BC
monochromatic
#5C6324 #869034 #AFBC45 #C2CC72 #D6DC9F

Accessibility & contrast

On white

2.08
#AFBC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#AFBC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC45
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC45#FFFFFF#000000##000000
##AFBC451.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B336
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc45;
/* rgb */ color: rgb(175, 188, 69);
/* oklch */ color: oklch(76.2% 0.143 115.1);
Tailwind
colors: {
  custom: {
    50: '#cad07e',
    500: '#afbc45',
    950: '#000000',
  },
}
SCSS
$custom: #afbc45;
$custom-light: #cad07e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc45",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 66.555,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76218,
    "c": 0.14254,
    "h": 115.1
  },
  "luminance": 0.4551
}

Semantic roles & 50–950 ramp

primary
#AFBC45
secondary
#9A94C9
accent
#51D760
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBC45

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

Preview Lab → · Contrast checker → · Palette generator →

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