#AFBC3D#AFBC3D

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

Color values

HEX#AFBC3D
RGBrgb(175, 188, 61)
HSLhsl(66, 51%, 49%)
HSVhsv(66, 68%, 74%)
CMYKcmyk(6.9%, 0%, 67.6%, 26.3%)
CIE-LABlab(73.17, -20.89, 59.87)
CIE-LCHlch(73.17, 63.41, 109.23°)
OKLaboklab(76.15% -0.0628 0.1345)
OKLCHoklch(76.15% 0.148 115)
XYZxyz(36.5056, 45.4179, 11.2574)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC3D #4A3DBC
analogous
#BC8A3D #AFBC3D #70BC3D
triadic
#AFBC3D #3DAFBC #BC3DAF
tetradic
#AFBC3D #3DBC8A #4A3DBC #BC3D70
square
#AFBC3D #3DBC8A #4A3DBC #BC3D70
split-complementary
#AFBC3D #3D70BC #8A3DBC
monochromatic
#59601F #848E2E #AFBC3D #C4CE68 #D6DD96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC3D#FFFFFF#000000##000000
##AFBC3D1.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)
#C9B32A
Deuteranopia (green-blind)
#C8B546
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc3d;
/* rgb */ color: rgb(175, 188, 61);
/* oklch */ color: oklch(76.1% 0.148 115.0);
Tailwind
colors: {
  custom: {
    50: '#cad07a',
    500: '#afbc3d',
    950: '#000000',
  },
}
SCSS
$custom: #afbc3d;
$custom-light: #cad07a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc3d",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 61
  },
  "hsl": {
    "h": 66.142,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.14846,
    "h": 115
  },
  "luminance": 0.45417
}

Semantic roles & 50–950 ramp

primary
#AFBC3D
secondary
#928CC9
accent
#4DDA5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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