#AFBC3A#AFBC3A

#AFBC3A is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.1% C 0.150 H 115.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#AFBC3A
RGBrgb(175, 188, 58)
HSLhsl(66, 53%, 48%)
HSVhsv(66, 69%, 74%)
CMYKcmyk(6.9%, 0%, 69.1%, 26.3%)
CIE-LABlab(73.15, -21.06, 60.99)
CIE-LCHlch(73.15, 64.53, 109.05°)
OKLaboklab(76.13% -0.0635 0.1364)
OKLCHoklch(76.13% 0.151 115)
XYZxyz(36.4271, 45.3865, 10.8437)
Luminance0.4539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC3A #473ABC
analogous
#BC883A #AFBC3A #6EBC3A
triadic
#AFBC3A #3AAFBC #BC3AAF
tetradic
#AFBC3A #3ABC88 #473ABC #BC3A6E
square
#AFBC3A #3ABC88 #473ABC #BC3A6E
split-complementary
#AFBC3A #3A6EBC #883ABC
monochromatic
#585E1D #838D2C #AFBC3A #C4CF64 #D6DE93

Accessibility & contrast

On white

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

On black

10.08
#AFBC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC3A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC3A#FFFFFF#000000##000000
##AFBC3A1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B325
Deuteranopia (green-blind)
#C8B544
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc3a;
/* rgb */ color: rgb(175, 188, 58);
/* oklch */ color: oklch(76.1% 0.150 115.0);
Tailwind
colors: {
  custom: {
    50: '#cad078',
    500: '#afbc3a',
    950: '#000000',
  },
}
SCSS
$custom: #afbc3a;
$custom-light: #cad078;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc3a",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 66,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76127,
    "c": 0.1505,
    "h": 115
  },
  "luminance": 0.45386
}

Semantic roles & 50–950 ramp

primary
#AFBC3A
secondary
#8F89C9
accent
#4CDC5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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