#AFBC64#AFBC64

#AFBC64 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.114 H 116.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#AFBC64
RGBrgb(175, 188, 100)
HSLhsl(69, 40%, 56%)
HSVhsv(69, 47%, 74%)
CMYKcmyk(6.9%, 0%, 46.8%, 26.3%)
CIE-LABlab(73.55, -17.75, 42.76)
CIE-LCHlch(73.55, 46.30, 112.55°)
OKLaboklab(76.58% -0.0501 0.1023)
OKLCHoklch(76.58% 0.114 116.1)
XYZxyz(37.9631, 46.0009, 18.9333)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC64 #7164BC
analogous
#BC9D64 #AFBC64 #83BC64
triadic
#AFBC64 #64AFBC #BC64AF
tetradic
#AFBC64 #64BC9D #7164BC #BC6483
square
#AFBC64 #64BC9D #7164BC #BC6483
split-complementary
#AFBC64 #6483BC #9D64BC
monochromatic
#6A7432 #919E44 #AFBC64 #C5CE8F #DBE1B9

Accessibility & contrast

On white

2.06
#AFBC64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#AFBC64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC64
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC64#FFFFFF#000000##000000
##AFBC641.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45C
Deuteranopia (green-blind)
#C5B569
Tritanopia (blue-blind)
#B8B3A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc64;
/* rgb */ color: rgb(175, 188, 100);
/* oklch */ color: oklch(76.6% 0.114 116.1);
Tailwind
colors: {
  custom: {
    50: '#c8d092',
    500: '#afbc64',
    950: '#000000',
  },
}
SCSS
$custom: #afbc64;
$custom-light: #c8d092;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc64",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 100
  },
  "hsl": {
    "h": 68.864,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76576,
    "c": 0.11391,
    "h": 116.1
  },
  "luminance": 0.46
}

Semantic roles & 50–950 ramp

primary
#AFBC64
secondary
#B1ACD0
accent
#58D06A
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBC64

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

Preview Lab → · Contrast checker → · Palette generator →

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