#AFBF75#AFBF75

#AFBF75 is a light, moderate yellow-green. Relative luminance 0.477; OKLCH L 77.5% C 0.099 H 118.7°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#AFBF75
RGBrgb(175, 191, 117)
HSLhsl(73, 37%, 60%)
HSVhsv(73, 39%, 75%)
CMYKcmyk(8.4%, 0%, 38.7%, 25.1%)
CIE-LABlab(74.61, -17.37, 35.51)
CIE-LCHlch(74.61, 39.53, 116.07°)
OKLaboklab(77.5% -0.0477 0.087)
OKLCHoklch(77.5% 0.099 118.7)
XYZxyz(39.5209, 47.6601, 23.9435)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF75 #8575BF
analogous
#BFAA75 #AFBF75 #8ABF75
triadic
#AFBF75 #75AFBF #BF75AF
tetradic
#AFBF75 #75BFAA #8575BF #BF758A
square
#AFBF75 #75BFAA #8575BF #BF758A
split-complementary
#AFBF75 #758ABF #AA75BF
monochromatic
#707F3B #95A94E #AFBF75 #C7D29F #DFE6C9

Accessibility & contrast

On white

1.99
#AFBF75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#AFBF75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF75
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF75#FFFFFF#000000##000000
##AFBF751.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76F
Deuteranopia (green-blind)
#C6B879
Tritanopia (blue-blind)
#B6B8AD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf75;
/* rgb */ color: rgb(175, 191, 117);
/* oklch */ color: oklch(77.5% 0.099 118.7);
Tailwind
colors: {
  custom: {
    50: '#c8d29e',
    500: '#afbf75',
    950: '#000000',
  },
}
SCSS
$custom: #afbf75;
$custom-light: #c8d29e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf75",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 117
  },
  "hsl": {
    "h": 72.973,
    "s": 36.634,
    "l": 60.392
  },
  "oklch": {
    "l": 0.77502,
    "c": 0.09918,
    "h": 118.7
  },
  "luminance": 0.4766
}

Semantic roles & 50–950 ramp

primary
#AFBF75
secondary
#C0BAD6
accent
#36B050
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBF75

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

Preview Lab → · Contrast checker → · Palette generator →

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