#AFBF39#AFBF39

#AFBF39 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.8% C 0.155 H 116.1°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#AFBF39
RGBrgb(175, 191, 57)
HSLhsl(67, 54%, 49%)
HSVhsv(67, 70%, 75%)
CMYKcmyk(8.4%, 0%, 70.2%, 25.1%)
CIE-LABlab(73.98, -22.60, 62.20)
CIE-LCHlch(73.98, 66.17, 109.97°)
OKLaboklab(76.79% -0.0679 0.1388)
OKLCHoklch(76.79% 0.155 116.1)
XYZxyz(37.0494, 46.6715, 10.9269)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF39 #4939BF
analogous
#BF8C39 #AFBF39 #6CBF39
triadic
#AFBF39 #39AFBF #BF39AF
tetradic
#AFBF39 #39BF8C #4939BF #BF396C
square
#AFBF39 #39BF8C #4939BF #BF396C
split-complementary
#AFBF39 #396CBF #8C39BF
monochromatic
#59611D #84902B #AFBF39 #C4D164 #D6DF93

Accessibility & contrast

On white

2.03
#AFBF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#AFBF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF39
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF39#FFFFFF#000000##000000
##AFBF391.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB522
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf39;
/* rgb */ color: rgb(175, 191, 57);
/* oklch */ color: oklch(76.8% 0.155 116.1);
Tailwind
colors: {
  custom: {
    50: '#cad278',
    500: '#afbf39',
    950: '#000000',
  },
}
SCSS
$custom: #afbf39;
$custom-light: #cad278;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf39",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 57
  },
  "hsl": {
    "h": 67.164,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76793,
    "c": 0.15451,
    "h": 116.1
  },
  "luminance": 0.46671
}

Semantic roles & 50–950 ramp

primary
#AFBF39
secondary
#918ACA
accent
#4ADD5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBF39

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

Preview Lab → · Contrast checker → · Palette generator →

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