#AFBE5B#AFBE5B

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

Color values

HEX#AFBE5B
RGBrgb(175, 190, 91)
HSLhsl(69, 43%, 55%)
HSVhsv(69, 52%, 75%)
CMYKcmyk(7.9%, 0%, 52.1%, 25.5%)
CIE-LABlab(74.00, -19.63, 47.66)
CIE-LCHlch(74.00, 51.55, 112.38°)
OKLaboklab(76.9% -0.0562 0.1123)
OKLCHoklch(76.9% 0.126 116.6)
XYZxyz(37.9815, 46.6966, 16.9080)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE5B #6A5BBE
analogous
#BE9B5B #AFBE5B #7DBE5B
triadic
#AFBE5B #5BAFBE #BE5BAF
tetradic
#AFBE5B #5BBE9B #6A5BBE #BE5B7D
square
#AFBE5B #5BBE9B #6A5BBE #BE5B7D
split-complementary
#AFBE5B #5B7DBE #9B5BBE
monochromatic
#67722D #8F9D3E #AFBE5B #C4CF87 #DAE1B3

Accessibility & contrast

On white

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

On black

10.34
#AFBE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE5B
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE5B#FFFFFF#000000##000000
##AFBE5B1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbe5b;
/* rgb */ color: rgb(175, 190, 91);
/* oklch */ color: oklch(76.9% 0.126 116.6);
Tailwind
colors: {
  custom: {
    50: '#c9d18c',
    500: '#afbe5b',
    950: '#000000',
  },
}
SCSS
$custom: #afbe5b;
$custom-light: #c9d18c;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe5b",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 91
  },
  "hsl": {
    "h": 69.091,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76901,
    "c": 0.12561,
    "h": 116.6
  },
  "luminance": 0.46696
}

Semantic roles & 50–950 ramp

primary
#AFBE5B
secondary
#ACA6CF
accent
#55D368
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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