#AFB356#AFB356

#AFB356 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.117 H 111.1°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#AFB356
RGBrgb(175, 179, 86)
HSLhsl(63, 38%, 52%)
HSVhsv(63, 52%, 70%)
CMYKcmyk(2.2%, 0%, 52%, 29.8%)
CIE-LABlab(70.89, -14.51, 46.41)
CIE-LCHlch(70.89, 48.63, 107.36°)
OKLaboklab(74.4% -0.0422 0.1091)
OKLCHoklch(74.4% 0.117 111.1)
XYZxyz(35.4798, 42.0268, 15.0453)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB356 #5A56B3
analogous
#B38956 #AFB356 #81B356
triadic
#AFB356 #56AFB3 #B356AF
tetradic
#AFB356 #56B389 #5A56B3 #B35681
square
#AFB356 #56B389 #5A56B3 #B35681
split-complementary
#AFB356 #5681B3 #8956B3
monochromatic
#60622C #898D3F #AFB356 #C3C680 #D7D9AA

Accessibility & contrast

On white

2.23
#AFB356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#AFB356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB356
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB356#FFFFFF#000000##000000
##AFB3561.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4D
Deuteranopia (green-blind)
#C0AF5B
Tritanopia (blue-blind)
#B9AA9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb356;
/* rgb */ color: rgb(175, 179, 86);
/* oklch */ color: oklch(74.4% 0.117 111.1);
Tailwind
colors: {
  custom: {
    50: '#c9c988',
    500: '#afb356',
    950: '#000000',
  },
}
SCSS
$custom: #afb356;
$custom-light: #c9c988;
$custom-dark: #000000;
JSON
{
  "hex": "#afb356",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 86
  },
  "hsl": {
    "h": 62.581,
    "s": 37.959,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74401,
    "c": 0.11701,
    "h": 111.1
  },
  "luminance": 0.42026
}

Semantic roles & 50–950 ramp

primary
#AFB356
secondary
#A09EC7
accent
#5ACE5F
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB356

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

Preview Lab → · Contrast checker → · Palette generator →

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