#AFBC3B#AFBC3B

#AFBC3B 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#AFBC3B
RGBrgb(175, 188, 59)
HSLhsl(66, 52%, 48%)
HSVhsv(66, 69%, 74%)
CMYKcmyk(6.9%, 0%, 68.6%, 26.3%)
CIE-LABlab(73.15, -21.00, 60.62)
CIE-LCHlch(73.15, 64.16, 109.11°)
OKLaboklab(76.13% -0.0633 0.1358)
OKLCHoklch(76.13% 0.15 115)
XYZxyz(36.4528, 45.3968, 10.9790)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC3B #483BBC
analogous
#BC893B #AFBC3B #6EBC3B
triadic
#AFBC3B #3BAFBC #BC3BAF
tetradic
#AFBC3B #3BBC89 #483BBC #BC3B6E
square
#AFBC3B #3BBC89 #483BBC #BC3B6E
split-complementary
#AFBC3B #3B6EBC #893BBC
monochromatic
#585F1E #848D2C #AFBC3B #C4CF65 #D6DD94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC3B#FFFFFF#000000##000000
##AFBC3B1.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)
#C9B327
Deuteranopia (green-blind)
#C8B545
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc3b;
/* rgb */ color: rgb(175, 188, 59);
/* oklch */ color: oklch(76.1% 0.150 115.0);
Tailwind
colors: {
  custom: {
    50: '#cad079',
    500: '#afbc3b',
    950: '#000000',
  },
}
SCSS
$custom: #afbc3b;
$custom-light: #cad079;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc3b",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 59
  },
  "hsl": {
    "h": 66.047,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76134,
    "c": 0.14983,
    "h": 115
  },
  "luminance": 0.45396
}

Semantic roles & 50–950 ramp

primary
#AFBC3B
secondary
#908AC9
accent
#4CDC5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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