#AFB657#AFB657

#AFB657 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.120 H 112.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#AFB657
RGBrgb(175, 182, 87)
HSLhsl(64, 39%, 53%)
HSVhsv(64, 52%, 71%)
CMYKcmyk(3.8%, 0%, 52.2%, 28.6%)
CIE-LABlab(71.73, -15.96, 46.92)
CIE-LCHlch(71.73, 49.56, 108.78°)
OKLaboklab(75.08% -0.0462 0.1103)
OKLCHoklch(75.08% 0.12 112.7)
XYZxyz(36.1281, 43.2586, 15.4615)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB657 #5E57B6
analogous
#B68D57 #AFB657 #7FB657
triadic
#AFB657 #57AFB6 #B657AF
tetradic
#AFB657 #57B68D #5E57B6 #B6577F
square
#AFB657 #57B68D #5E57B6 #B6577F
split-complementary
#AFB657 #577FB6 #8D57B6
monochromatic
#62662C #8B913F #AFB657 #C3C982 #D8DBAC

Accessibility & contrast

On white

2.18
#AFB657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#AFB657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB657
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB657#FFFFFF#000000##000000
##AFB6571.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4E
Deuteranopia (green-blind)
#C2B15C
Tritanopia (blue-blind)
#B9ADA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb657;
/* rgb */ color: rgb(175, 182, 87);
/* oklch */ color: oklch(75.1% 0.120 112.7);
Tailwind
colors: {
  custom: {
    50: '#c9cb89',
    500: '#afb657',
    950: '#000000',
  },
}
SCSS
$custom: #afb657;
$custom-light: #c9cb89;
$custom-dark: #000000;
JSON
{
  "hex": "#afb657",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 87
  },
  "hsl": {
    "h": 64.421,
    "s": 39.419,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75075,
    "c": 0.11961,
    "h": 112.7
  },
  "luminance": 0.43258
}

Semantic roles & 50–950 ramp

primary
#AFB657
secondary
#A3A0C9
accent
#58CF61
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB657

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

Preview Lab → · Contrast checker → · Palette generator →

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