#AFBF63#AFBF63

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

Color values

HEX#AFBF63
RGBrgb(175, 191, 99)
HSLhsl(70, 42%, 57%)
HSVhsv(70, 48%, 75%)
CMYKcmyk(8.4%, 0%, 48.2%, 25.1%)
CIE-LABlab(74.37, -19.36, 44.25)
CIE-LCHlch(74.37, 48.30, 113.63°)
OKLaboklab(77.23% -0.0547 0.1055)
OKLCHoklch(77.23% 0.119 117.4)
XYZxyz(38.5625, 47.2767, 18.8958)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF63 #7363BF
analogous
#BFA163 #AFBF63 #81BF63
triadic
#AFBF63 #63AFBF #BF63AF
tetradic
#AFBF63 #63BFA1 #7363BF #BF6381
square
#AFBF63 #63BFA1 #7363BF #BF6381
split-complementary
#AFBF63 #6381BF #A163BF
monochromatic
#6B7731 #92A243 #AFBF63 #C5D18E #DCE3BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBF63#FFFFFF#000000##000000
##AFBF631.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)
#CAB75B
Deuteranopia (green-blind)
#C8B768
Tritanopia (blue-blind)
#B7B6AA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf63;
/* rgb */ color: rgb(175, 191, 99);
/* oklch */ color: oklch(77.2% 0.119 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d291',
    500: '#afbf63',
    950: '#000000',
  },
}
SCSS
$custom: #afbf63;
$custom-light: #c8d291;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf63",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 99
  },
  "hsl": {
    "h": 70.435,
    "s": 41.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77228,
    "c": 0.11887,
    "h": 117.4
  },
  "luminance": 0.47276
}

Semantic roles & 50–950 ramp

primary
#AFBF63
secondary
#B3ACD2
accent
#56D26C
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBF63

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

Preview Lab → · Contrast checker → · Palette generator →

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