#AFB756#AFB756

#AFB756 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.122 H 113.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#AFB756
RGBrgb(175, 183, 86)
HSLhsl(65, 40%, 53%)
HSVhsv(65, 53%, 72%)
CMYKcmyk(4.4%, 0%, 53%, 28.2%)
CIE-LABlab(72.00, -16.55, 47.70)
CIE-LCHlch(72.00, 50.49, 109.14°)
OKLaboklab(75.28% -0.048 0.1119)
OKLCHoklch(75.28% 0.122 113.2)
XYZxyz(36.2931, 43.6534, 15.3164)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB756 #5E56B7
analogous
#B78E56 #AFB756 #7FB756
triadic
#AFB756 #56AFB7 #B756AF
tetradic
#AFB756 #56B78E #5E56B7 #B7567F
square
#AFB756 #56B78E #5E56B7 #B7567F
split-complementary
#AFB756 #567FB7 #8E56B7
monochromatic
#62672C #8B923E #AFB756 #C3C981 #D8DCAC

Accessibility & contrast

On white

2.16
#AFB756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#AFB756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB756
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB756#FFFFFF#000000##000000
##AFB7561.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4D
Deuteranopia (green-blind)
#C3B25B
Tritanopia (blue-blind)
#B9AEA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb756;
/* rgb */ color: rgb(175, 183, 86);
/* oklch */ color: oklch(75.3% 0.122 113.2);
Tailwind
colors: {
  custom: {
    50: '#c9cc88',
    500: '#afb756',
    950: '#000000',
  },
}
SCSS
$custom: #afb756;
$custom-light: #c9cc88;
$custom-dark: #000000;
JSON
{
  "hex": "#afb756",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 86
  },
  "hsl": {
    "h": 64.948,
    "s": 40.249,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75284,
    "c": 0.12179,
    "h": 113.2
  },
  "luminance": 0.43653
}

Semantic roles & 50–950 ramp

primary
#AFB756
secondary
#A39FC9
accent
#58D062
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB756

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

Preview Lab → · Contrast checker → · Palette generator →

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