#AFBD3A#AFBD3A

#AFBD3A is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.152 H 115.4°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#AFBD3A
RGBrgb(175, 189, 58)
HSLhsl(66, 53%, 48%)
HSVhsv(66, 69%, 74%)
CMYKcmyk(7.4%, 0%, 69.3%, 25.9%)
CIE-LABlab(73.43, -21.55, 61.27)
CIE-LCHlch(73.43, 64.95, 109.38°)
OKLaboklab(76.35% -0.0649 0.137)
OKLCHoklch(76.35% 0.152 115.4)
XYZxyz(36.6415, 45.8152, 10.9152)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD3A #483ABD
analogous
#BD893A #AFBD3A #6DBD3A
triadic
#AFBD3A #3AAFBD #BD3AAF
tetradic
#AFBD3A #3ABD89 #483ABD #BD3A6D
square
#AFBD3A #3ABD89 #483ABD #BD3A6D
split-complementary
#AFBD3A #3A6DBD #893ABD
monochromatic
#585F1D #848E2C #AFBD3A #C4D065 #D6DE93

Accessibility & contrast

On white

2.07
#AFBD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#AFBD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD3A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD3A#FFFFFF#000000##000000
##AFBD3A1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB325
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd3a;
/* rgb */ color: rgb(175, 189, 58);
/* oklch */ color: oklch(76.4% 0.152 115.4);
Tailwind
colors: {
  custom: {
    50: '#cad078',
    500: '#afbd3a',
    950: '#000000',
  },
}
SCSS
$custom: #afbd3a;
$custom-light: #cad078;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd3a",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 66.412,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76351,
    "c": 0.15162,
    "h": 115.4
  },
  "luminance": 0.45815
}

Semantic roles & 50–950 ramp

primary
#AFBD3A
secondary
#908AC9
accent
#4BDC5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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