#AFBC3F#AFBC3F

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

Color values

HEX#AFBC3F
RGBrgb(175, 188, 63)
HSLhsl(66, 50%, 49%)
HSVhsv(66, 66%, 74%)
CMYKcmyk(6.9%, 0%, 66.5%, 26.3%)
CIE-LABlab(73.18, -20.77, 59.09)
CIE-LCHlch(73.18, 62.64, 109.36°)
OKLaboklab(76.17% -0.0622 0.1332)
OKLCHoklch(76.17% 0.147 115)
XYZxyz(36.5605, 45.4399, 11.5465)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC3F #4C3FBC
analogous
#BC8B3F #AFBC3F #71BC3F
triadic
#AFBC3F #3FAFBC #BC3FAF
tetradic
#AFBC3F #3FBC8B #4C3FBC #BC3F71
square
#AFBC3F #3FBC8B #4C3FBC #BC3F71
split-complementary
#AFBC3F #3F71BC #8B3FBC
monochromatic
#5A6020 #848E30 #AFBC3F #C3CD6B #D6DD99

Accessibility & contrast

On white

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

On black

10.09
#AFBC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC3F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC3F#FFFFFF#000000##000000
##AFBC3F1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32D
Deuteranopia (green-blind)
#C8B548
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc3f;
/* rgb */ color: rgb(175, 188, 63);
/* oklch */ color: oklch(76.2% 0.147 115.0);
Tailwind
colors: {
  custom: {
    50: '#cad07b',
    500: '#afbc3f',
    950: '#000000',
  },
}
SCSS
$custom: #afbc3f;
$custom-light: #cad07b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc3f",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 63
  },
  "hsl": {
    "h": 66.24,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76166,
    "c": 0.14704,
    "h": 115
  },
  "luminance": 0.45439
}

Semantic roles & 50–950 ramp

primary
#AFBC3F
secondary
#948EC9
accent
#4ED95D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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