#AFBD34#AFBD34

#AFBD34 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.3% C 0.155 H 115.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#AFBD34
RGBrgb(175, 189, 52)
HSLhsl(66, 57%, 47%)
HSVhsv(66, 72%, 74%)
CMYKcmyk(7.4%, 0%, 72.5%, 25.9%)
CIE-LABlab(73.39, -21.87, 63.41)
CIE-LCHlch(73.39, 67.08, 109.03°)
OKLaboklab(76.31% -0.0664 0.1405)
OKLCHoklch(76.31% 0.155 115.3)
XYZxyz(36.4976, 45.7577, 10.1576)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD34 #4234BD
analogous
#BD8634 #AFBD34 #6BBD34
triadic
#AFBD34 #34AFBD #BD34AF
tetradic
#AFBD34 #34BD86 #4234BD #BD346B
square
#AFBD34 #34BD86 #4234BD #BD346B
split-complementary
#AFBD34 #346BBD #8634BD
monochromatic
#565D1A #838D27 #AFBD34 #C6D25C #D7DF8C

Accessibility & contrast

On white

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

On black

10.15
#AFBD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD34
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD34#FFFFFF#000000##000000
##AFBD341.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbd34;
/* rgb */ color: rgb(175, 189, 52);
/* oklch */ color: oklch(76.3% 0.155 115.3);
Tailwind
colors: {
  custom: {
    50: '#cad075',
    500: '#afbd34',
    950: '#000000',
  },
}
SCSS
$custom: #afbd34;
$custom-light: #cad075;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd34",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 52
  },
  "hsl": {
    "h": 66.131,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76309,
    "c": 0.15538,
    "h": 115.3
  },
  "luminance": 0.45757
}

Semantic roles & 50–950 ramp

primary
#AFBD34
secondary
#8A83CA
accent
#48E057
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD34

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

Preview Lab → · Contrast checker → · Palette generator →

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