#AFBF65#AFBF65

#AFBF65 is a light, moderate yellow-green. Relative luminance 0.473; OKLCH L 77.3% C 0.117 H 117.5°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#AFBF65
RGBrgb(175, 191, 101)
HSLhsl(71, 41%, 57%)
HSVhsv(71, 47%, 75%)
CMYKcmyk(8.4%, 0%, 47.1%, 25.1%)
CIE-LABlab(74.39, -19.16, 43.30)
CIE-LCHlch(74.39, 47.34, 113.87°)
OKLaboklab(77.26% -0.054 0.1036)
OKLCHoklch(77.26% 0.117 117.5)
XYZxyz(38.6593, 47.3155, 19.4056)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF65 #7565BF
analogous
#BFA265 #AFBF65 #82BF65
triadic
#AFBF65 #65AFBF #BF65AF
tetradic
#AFBF65 #65BFA2 #7565BF #BF6582
square
#AFBF65 #65BFA2 #7565BF #BF6582
split-complementary
#AFBF65 #6582BF #A265BF
monochromatic
#6B7832 #92A344 #AFBF65 #C5D190 #DCE3BB

Accessibility & contrast

On white

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

On black

10.46
#AFBF65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF65
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF65#FFFFFF#000000##000000
##AFBF651.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B75D
Deuteranopia (green-blind)
#C8B86A
Tritanopia (blue-blind)
#B7B6AA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf65;
/* rgb */ color: rgb(175, 191, 101);
/* oklch */ color: oklch(77.3% 0.117 117.5);
Tailwind
colors: {
  custom: {
    50: '#c8d293',
    500: '#afbf65',
    950: '#000000',
  },
}
SCSS
$custom: #afbf65;
$custom-light: #c8d293;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf65",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 101
  },
  "hsl": {
    "h": 70.667,
    "s": 41.284,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77256,
    "c": 0.11679,
    "h": 117.5
  },
  "luminance": 0.47315
}

Semantic roles & 50–950 ramp

primary
#AFBF65
secondary
#B4AED2
accent
#57D16C
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBF65

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

Preview Lab → · Contrast checker → · Palette generator →

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