#AFBF4E#AFBF4E

#AFBF4E is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.139 H 116.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#AFBF4E
RGBrgb(175, 191, 78)
HSLhsl(68, 47%, 53%)
HSVhsv(68, 59%, 75%)
CMYKcmyk(8.4%, 0%, 59.2%, 25.1%)
CIE-LABlab(74.14, -21.22, 53.81)
CIE-LCHlch(74.14, 57.84, 111.52°)
OKLaboklab(76.98% -0.062 0.1241)
OKLCHoklch(76.98% 0.139 116.5)
XYZxyz(37.6858, 46.9261, 14.2786)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF4E #5E4EBF
analogous
#BF974E #AFBF4E #76BF4E
triadic
#AFBF4E #4EAFBF #BF4EAF
tetradic
#AFBF4E #4EBF97 #5E4EBF #BF4E76
square
#AFBF4E #4EBF97 #5E4EBF #BF4E76
split-complementary
#AFBF4E #4E76BF #974EBF
monochromatic
#626C27 #8B9937 #AFBF4E #C3CF7B #D8E0A8

Accessibility & contrast

On white

2.02
#AFBF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#AFBF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF4E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF4E#FFFFFF#000000##000000
##AFBF4E1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB641
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#B9B5A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf4e;
/* rgb */ color: rgb(175, 191, 78);
/* oklch */ color: oklch(77.0% 0.139 116.5);
Tailwind
colors: {
  custom: {
    50: '#c9d284',
    500: '#afbf4e',
    950: '#000000',
  },
}
SCSS
$custom: #afbf4e;
$custom-light: #c9d284;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf4e",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 68.496,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76977,
    "c": 0.13874,
    "h": 116.5
  },
  "luminance": 0.46926
}

Semantic roles & 50–950 ramp

primary
#AFBF4E
secondary
#A39CCD
accent
#51D764
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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