#AFBE5F#AFBE5F

#AFBE5F is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.122 H 116.8°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#AFBE5F
RGBrgb(175, 190, 95)
HSLhsl(69, 42%, 56%)
HSVhsv(69, 50%, 75%)
CMYKcmyk(7.9%, 0%, 50%, 25.5%)
CIE-LABlab(74.04, -19.25, 45.80)
CIE-LCHlch(74.04, 49.68, 112.80°)
OKLaboklab(76.95% -0.0548 0.1086)
OKLCHoklch(76.95% 0.122 116.8)
XYZxyz(38.1587, 46.7675, 17.8411)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE5F #6E5FBE
analogous
#BE9D5F #AFBE5F #7FBE5F
triadic
#AFBE5F #5FAFBE #BE5FAF
tetradic
#AFBE5F #5FBE9D #6E5FBE #BE5F7F
square
#AFBE5F #5FBE9D #6E5FBE #BE5F7F
split-complementary
#AFBE5F #5F7FBE #9D5FBE
monochromatic
#69742F #909F41 #AFBE5F #C5D08B #DBE1B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE5F#FFFFFF#000000##000000
##AFBE5F1.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)
#C9B656
Deuteranopia (green-blind)
#C8B764
Tritanopia (blue-blind)
#B8B5A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe5f;
/* rgb */ color: rgb(175, 190, 95);
/* oklch */ color: oklch(77.0% 0.122 116.8);
Tailwind
colors: {
  custom: {
    50: '#c9d18f',
    500: '#afbe5f',
    950: '#000000',
  },
}
SCSS
$custom: #afbe5f;
$custom-light: #c9d18f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe5f",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 95
  },
  "hsl": {
    "h": 69.474,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76952,
    "c": 0.12165,
    "h": 116.8
  },
  "luminance": 0.46767
}

Semantic roles & 50–950 ramp

primary
#AFBE5F
secondary
#AFA9D0
accent
#56D269
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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