#AFBE3C#AFBE3C

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

Color values

HEX#AFBE3C
RGBrgb(175, 190, 60)
HSLhsl(67, 52%, 49%)
HSVhsv(67, 68%, 75%)
CMYKcmyk(7.9%, 0%, 68.4%, 25.5%)
CIE-LABlab(73.72, -21.94, 60.81)
CIE-LCHlch(73.72, 64.65, 109.84°)
OKLaboklab(76.59% -0.0658 0.1364)
OKLCHoklch(76.59% 0.151 115.8)
XYZxyz(36.9092, 46.2677, 11.2603)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE3C #4B3CBE
analogous
#BE8C3C #AFBE3C #6EBE3C
triadic
#AFBE3C #3CAFBE #BE3CAF
tetradic
#AFBE3C #3CBE8C #4B3CBE #BE3C6E
square
#AFBE3C #3CBE8C #4B3CBE #BE3C6E
split-complementary
#AFBE3C #3C6EBE #8C3CBE
monochromatic
#59611F #848F2D #AFBE3C #C3CF68 #D6DE96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE3C#FFFFFF#000000##000000
##AFBE3C1.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)
#CBB428
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe3c;
/* rgb */ color: rgb(175, 190, 60);
/* oklch */ color: oklch(76.6% 0.151 115.8);
Tailwind
colors: {
  custom: {
    50: '#cad179',
    500: '#afbe3c',
    950: '#000000',
  },
}
SCSS
$custom: #afbe3c;
$custom-light: #cad179;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe3c",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 60
  },
  "hsl": {
    "h": 66.923,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76591,
    "c": 0.1514,
    "h": 115.8
  },
  "luminance": 0.46267
}

Semantic roles & 50–950 ramp

primary
#AFBE3C
secondary
#938CCA
accent
#4CDB5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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