#AFBE5D#AFBE5D

#AFBE5D is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.124 H 116.7°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#AFBE5D
RGBrgb(175, 190, 93)
HSLhsl(69, 43%, 55%)
HSVhsv(69, 51%, 75%)
CMYKcmyk(7.9%, 0%, 51.1%, 25.5%)
CIE-LABlab(74.02, -19.44, 46.74)
CIE-LCHlch(74.02, 50.62, 112.59°)
OKLaboklab(76.93% -0.0555 0.1105)
OKLCHoklch(76.93% 0.124 116.7)
XYZxyz(38.0689, 46.7316, 17.3684)
Luminance0.4673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE5D #6C5DBE
analogous
#BE9C5D #AFBE5D #7FBE5D
triadic
#AFBE5D #5DAFBE #BE5DAF
tetradic
#AFBE5D #5DBE9C #6C5DBE #BE5D7F
square
#AFBE5D #5DBE9C #6C5DBE #BE5D7F
split-complementary
#AFBE5D #5D7FBE #9C5DBE
monochromatic
#68732E #909E40 #AFBE5D #C5D089 #DAE1B4

Accessibility & contrast

On white

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

On black

10.35
#AFBE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE5D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE5D#FFFFFF#000000##000000
##AFBE5D1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B554
Deuteranopia (green-blind)
#C8B762
Tritanopia (blue-blind)
#B8B5A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe5d;
/* rgb */ color: rgb(175, 190, 93);
/* oklch */ color: oklch(76.9% 0.124 116.7);
Tailwind
colors: {
  custom: {
    50: '#c9d18d',
    500: '#afbe5d',
    950: '#000000',
  },
}
SCSS
$custom: #afbe5d;
$custom-light: #c9d18d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe5d",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 93
  },
  "hsl": {
    "h": 69.278,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76926,
    "c": 0.12365,
    "h": 116.7
  },
  "luminance": 0.46731
}

Semantic roles & 50–950 ramp

primary
#AFBE5D
secondary
#ADA7D0
accent
#55D369
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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