#AFBC61#AFBC61

#AFBC61 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.117 H 115.9°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#AFBC61
RGBrgb(175, 188, 97)
HSLhsl(69, 40%, 56%)
HSVhsv(69, 48%, 74%)
CMYKcmyk(6.9%, 0%, 48.4%, 26.3%)
CIE-LABlab(73.51, -18.05, 44.19)
CIE-LCHlch(73.51, 47.74, 112.22°)
OKLaboklab(76.54% -0.0512 0.1053)
OKLCHoklch(76.54% 0.117 115.9)
XYZxyz(37.8206, 45.9439, 18.1826)
Luminance0.4594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC61 #6E61BC
analogous
#BC9B61 #AFBC61 #81BC61
triadic
#AFBC61 #61AFBC #BC61AF
tetradic
#AFBC61 #61BC9B #6E61BC #BC6181
square
#AFBC61 #61BC9B #6E61BC #BC6181
split-complementary
#AFBC61 #6181BC #9B61BC
monochromatic
#697230 #909D43 #AFBC61 #C5CE8C #DBE0B7

Accessibility & contrast

On white

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

On black

10.19
#AFBC61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC61
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC61#FFFFFF#000000##000000
##AFBC611.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbc61;
/* rgb */ color: rgb(175, 188, 97);
/* oklch */ color: oklch(76.5% 0.117 115.9);
Tailwind
colors: {
  custom: {
    50: '#c8d090',
    500: '#afbc61',
    950: '#000000',
  },
}
SCSS
$custom: #afbc61;
$custom-light: #c8d090;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc61",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 97
  },
  "hsl": {
    "h": 68.571,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76535,
    "c": 0.11704,
    "h": 115.9
  },
  "luminance": 0.45943
}

Semantic roles & 50–950 ramp

primary
#AFBC61
secondary
#AFAACF
accent
#57D069
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130D
muted
#82827D

Preview Lab

Preview with #AFBC61

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

Preview Lab → · Contrast checker → · Palette generator →

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