#AFBD39#AFBD39

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

Color values

HEX#AFBD39
RGBrgb(175, 189, 57)
HSLhsl(66, 54%, 48%)
HSVhsv(66, 70%, 74%)
CMYKcmyk(7.4%, 0%, 69.8%, 25.9%)
CIE-LABlab(73.42, -21.61, 61.64)
CIE-LCHlch(73.42, 65.32, 109.32°)
OKLaboklab(76.34% -0.0652 0.1376)
OKLCHoklch(76.34% 0.152 115.3)
XYZxyz(36.6163, 45.8052, 10.7825)
Luminance0.4581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD39 #4739BD
analogous
#BD8939 #AFBD39 #6DBD39
triadic
#AFBD39 #39AFBD #BD39AF
tetradic
#AFBD39 #39BD89 #4739BD #BD396D
square
#AFBD39 #39BD89 #4739BD #BD396D
split-complementary
#AFBD39 #396DBD #8939BD
monochromatic
#585F1D #838E2B #AFBD39 #C4D063 #D6DE92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD39#FFFFFF#000000##000000
##AFBD391.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)
#CAB323
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd39;
/* rgb */ color: rgb(175, 189, 57);
/* oklch */ color: oklch(76.3% 0.152 115.3);
Tailwind
colors: {
  custom: {
    50: '#cad078',
    500: '#afbd39',
    950: '#000000',
  },
}
SCSS
$custom: #afbd39;
$custom-light: #cad078;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd39",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 57
  },
  "hsl": {
    "h": 66.364,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76344,
    "c": 0.15228,
    "h": 115.3
  },
  "luminance": 0.45805
}

Semantic roles & 50–950 ramp

primary
#AFBD39
secondary
#8F89C9
accent
#4BDD5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD39

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

Preview Lab → · Contrast checker → · Palette generator →

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