#AFBF61#AFBF61

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

Color values

HEX#AFBF61
RGBrgb(175, 191, 97)
HSLhsl(70, 42%, 56%)
HSVhsv(70, 49%, 75%)
CMYKcmyk(8.4%, 0%, 49.2%, 25.1%)
CIE-LABlab(74.34, -19.56, 45.19)
CIE-LCHlch(74.34, 49.24, 113.40°)
OKLaboklab(77.2% -0.0554 0.1075)
OKLCHoklch(77.2% 0.121 117.3)
XYZxyz(38.4681, 47.2390, 18.3985)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF61 #7161BF
analogous
#BFA061 #AFBF61 #80BF61
triadic
#AFBF61 #61AFBF #BF61AF
tetradic
#AFBF61 #61BFA0 #7161BF #BF6180
square
#AFBF61 #61BFA0 #7161BF #BF6180
split-complementary
#AFBF61 #6180BF #A061BF
monochromatic
#6A7630 #91A141 #AFBF61 #C5D18D #DBE2B8

Accessibility & contrast

On white

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

On black

10.45
#AFBF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF61
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF61#FFFFFF#000000##000000
##AFBF611.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbf61;
/* rgb */ color: rgb(175, 191, 97);
/* oklch */ color: oklch(77.2% 0.121 117.3);
Tailwind
colors: {
  custom: {
    50: '#c8d290',
    500: '#afbf61',
    950: '#000000',
  },
}
SCSS
$custom: #afbf61;
$custom-light: #c8d290;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf61",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 97
  },
  "hsl": {
    "h": 70.213,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77201,
    "c": 0.12091,
    "h": 117.3
  },
  "luminance": 0.47239
}

Semantic roles & 50–950 ramp

primary
#AFBF61
secondary
#B1ABD1
accent
#56D26B
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBF61

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

Preview Lab → · Contrast checker → · Palette generator →

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