#AFBE39#AFBE39

#AFBE39 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.6% C 0.153 H 115.7°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#AFBE39
RGBrgb(175, 190, 57)
HSLhsl(67, 54%, 48%)
HSVhsv(67, 70%, 75%)
CMYKcmyk(7.9%, 0%, 70%, 25.5%)
CIE-LABlab(73.70, -22.10, 61.92)
CIE-LCHlch(73.70, 65.75, 109.65°)
OKLaboklab(76.57% -0.0665 0.1382)
OKLCHoklch(76.57% 0.153 115.7)
XYZxyz(36.8321, 46.2368, 10.8544)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE39 #4839BE
analogous
#BE8A39 #AFBE39 #6CBE39
triadic
#AFBE39 #39AFBE #BE39AF
tetradic
#AFBE39 #39BE8A #4839BE #BE396C
square
#AFBE39 #39BE8A #4839BE #BE396C
split-complementary
#AFBE39 #396CBE #8A39BE
monochromatic
#58601D #848F2B #AFBE39 #C4D064 #D6DF93

Accessibility & contrast

On white

2.05
#AFBE39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#AFBE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE39
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE39#FFFFFF#000000##000000
##AFBE391.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB423
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe39;
/* rgb */ color: rgb(175, 190, 57);
/* oklch */ color: oklch(76.6% 0.153 115.7);
Tailwind
colors: {
  custom: {
    50: '#cad178',
    500: '#afbe39',
    950: '#000000',
  },
}
SCSS
$custom: #afbe39;
$custom-light: #cad178;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe39",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 57
  },
  "hsl": {
    "h": 66.767,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76568,
    "c": 0.15339,
    "h": 115.7
  },
  "luminance": 0.46236
}

Semantic roles & 50–950 ramp

primary
#AFBE39
secondary
#9089CA
accent
#4BDD5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBE39

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

Preview Lab → · Contrast checker → · Palette generator →

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