#AFBD3B#AFBD3B

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

Color values

HEX#AFBD3B
RGBrgb(175, 189, 59)
HSLhsl(66, 52%, 49%)
HSVhsv(66, 69%, 74%)
CMYKcmyk(7.4%, 0%, 68.8%, 25.9%)
CIE-LABlab(73.43, -21.50, 60.90)
CIE-LCHlch(73.43, 64.59, 109.44°)
OKLaboklab(76.36% -0.0647 0.1364)
OKLCHoklch(76.36% 0.151 115.4)
XYZxyz(36.6671, 45.8255, 11.0504)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD3B #493BBD
analogous
#BD8A3B #AFBD3B #6EBD3B
triadic
#AFBD3B #3BAFBD #BD3BAF
tetradic
#AFBD3B #3BBD8A #493BBD #BD3B6E
square
#AFBD3B #3BBD8A #493BBD #BD3B6E
split-complementary
#AFBD3B #3B6EBD #8A3BBD
monochromatic
#59601E #848E2C #AFBD3B #C4CF66 #D6DE95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD3B#FFFFFF#000000##000000
##AFBD3B1.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)
#CAB327
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd3b;
/* rgb */ color: rgb(175, 189, 59);
/* oklch */ color: oklch(76.4% 0.151 115.4);
Tailwind
colors: {
  custom: {
    50: '#cad079',
    500: '#afbd3b',
    950: '#000000',
  },
}
SCSS
$custom: #afbd3b;
$custom-light: #cad079;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd3b",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 59
  },
  "hsl": {
    "h": 66.462,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76358,
    "c": 0.15095,
    "h": 115.4
  },
  "luminance": 0.45825
}

Semantic roles & 50–950 ramp

primary
#AFBD3B
secondary
#918BC9
accent
#4CDC5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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