#AFBB70#AFBB70

#AFBB70 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.099 H 116.2°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#AFBB70
RGBrgb(175, 187, 112)
HSLhsl(70, 36%, 59%)
HSVhsv(70, 40%, 73%)
CMYKcmyk(6.4%, 0%, 40.1%, 26.7%)
CIE-LABlab(73.43, -15.93, 36.57)
CIE-LCHlch(73.43, 39.89, 113.54°)
OKLaboklab(76.54% -0.0439 0.0892)
OKLCHoklch(76.54% 0.099 116.2)
XYZxyz(38.3744, 45.8248, 22.1496)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB70 #7C70BB
analogous
#BBA170 #AFBB70 #89BB70
triadic
#AFBB70 #70AFBB #BB70AF
tetradic
#AFBB70 #70BBA1 #7C70BB #BB7089
square
#AFBB70 #70BBA1 #7C70BB #BB7089
split-complementary
#AFBB70 #7089BB #A170BB
monochromatic
#6E7839 #94A14D #AFBB70 #C6CF99 #DDE2C3

Accessibility & contrast

On white

2.07
#AFBB70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#AFBB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB70
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB70#FFFFFF#000000##000000
##AFBB701.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46A
Deuteranopia (green-blind)
#C3B574
Tritanopia (blue-blind)
#B7B3A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb70;
/* rgb */ color: rgb(175, 187, 112);
/* oklch */ color: oklch(76.5% 0.099 116.2);
Tailwind
colors: {
  custom: {
    50: '#c8cf9a',
    500: '#afbb70',
    950: '#000000',
  },
}
SCSS
$custom: #afbb70;
$custom-light: #c8cf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb70",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 112
  },
  "hsl": {
    "h": 69.6,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.76538,
    "c": 0.0994,
    "h": 116.2
  },
  "luminance": 0.45824
}

Semantic roles & 50–950 ramp

primary
#AFBB70
secondary
#B9B5D2
accent
#5CCC6E
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFBB70

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

Preview Lab → · Contrast checker → · Palette generator →

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