#AFBC3E#AFBC3E

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

Color values

HEX#AFBC3E
RGBrgb(175, 188, 62)
HSLhsl(66, 50%, 49%)
HSVhsv(66, 67%, 74%)
CMYKcmyk(6.9%, 0%, 67%, 26.3%)
CIE-LABlab(73.17, -20.83, 59.48)
CIE-LCHlch(73.17, 63.02, 109.30°)
OKLaboklab(76.16% -0.0625 0.1339)
OKLCHoklch(76.16% 0.148 115)
XYZxyz(36.5328, 45.4288, 11.4006)
Luminance0.4543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC3E #4B3EBC
analogous
#BC8A3E #AFBC3E #70BC3E
triadic
#AFBC3E #3EAFBC #BC3EAF
tetradic
#AFBC3E #3EBC8A #4B3EBC #BC3E70
square
#AFBC3E #3EBC8A #4B3EBC #BC3E70
split-complementary
#AFBC3E #3E70BC #8A3EBC
monochromatic
#596020 #848E2F #AFBC3E #C3CE6A #D6DD98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC3E#FFFFFF#000000##000000
##AFBC3E1.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)
#C9B32C
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc3e;
/* rgb */ color: rgb(175, 188, 62);
/* oklch */ color: oklch(76.2% 0.148 115.0);
Tailwind
colors: {
  custom: {
    50: '#cad07a',
    500: '#afbc3e',
    950: '#000000',
  },
}
SCSS
$custom: #afbc3e;
$custom-light: #cad07a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc3e",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 66.19,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76158,
    "c": 0.14775,
    "h": 115
  },
  "luminance": 0.45428
}

Semantic roles & 50–950 ramp

primary
#AFBC3E
secondary
#938DC9
accent
#4EDA5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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