#AFBF60#AFBF60

#AFBF60 is a light, vivid yellow-green. Relative luminance 0.472; OKLCH L 77.2% C 0.122 H 117.2°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#AFBF60
RGBrgb(175, 191, 96)
HSLhsl(70, 43%, 56%)
HSVhsv(70, 50%, 75%)
CMYKcmyk(8.4%, 0%, 49.7%, 25.1%)
CIE-LABlab(74.33, -19.66, 45.66)
CIE-LCHlch(74.33, 49.71, 113.29°)
OKLaboklab(77.19% -0.0558 0.1084)
OKLCHoklch(77.19% 0.122 117.2)
XYZxyz(38.4218, 47.2204, 18.1544)
Luminance0.4722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF60 #7060BF
analogous
#BFA060 #AFBF60 #80BF60
triadic
#AFBF60 #60AFBF #BF60AF
tetradic
#AFBF60 #60BFA0 #7060BF #BF6080
square
#AFBF60 #60BFA0 #7060BF #BF6080
split-complementary
#AFBF60 #6080BF #A060BF
monochromatic
#6A752F #91A141 #AFBF60 #C5D18C #DBE2B7

Accessibility & contrast

On white

2.01
#AFBF60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#AFBF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF60
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF60#FFFFFF#000000##000000
##AFBF601.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB657
Deuteranopia (green-blind)
#C8B765
Tritanopia (blue-blind)
#B8B6A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf60;
/* rgb */ color: rgb(175, 191, 96);
/* oklch */ color: oklch(77.2% 0.122 117.2);
Tailwind
colors: {
  custom: {
    50: '#c8d28f',
    500: '#afbf60',
    950: '#000000',
  },
}
SCSS
$custom: #afbf60;
$custom-light: #c8d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf60",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 96
  },
  "hsl": {
    "h": 70.105,
    "s": 42.601,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77188,
    "c": 0.12193,
    "h": 117.2
  },
  "luminance": 0.4722
}

Semantic roles & 50–950 ramp

primary
#AFBF60
secondary
#B0AAD1
accent
#55D26A
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140D
muted
#82827D

Preview Lab

Preview with #AFBF60

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

Preview Lab → · Contrast checker → · Palette generator →

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