#AFB755#AFB755

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

Color values

HEX#AFB755
RGBrgb(175, 183, 85)
HSLhsl(65, 40%, 53%)
HSVhsv(65, 54%, 72%)
CMYKcmyk(4.4%, 0%, 53.6%, 28.2%)
CIE-LABlab(71.99, -16.64, 48.16)
CIE-LCHlch(71.99, 50.96, 109.06°)
OKLaboklab(75.27% -0.0483 0.1128)
OKLCHoklch(75.27% 0.123 113.2)
XYZxyz(36.2531, 43.6374, 15.1057)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB755 #5D55B7
analogous
#B78E55 #AFB755 #7EB755
triadic
#AFB755 #55AFB7 #B755AF
tetradic
#AFB755 #55B78E #5D55B7 #B7557E
square
#AFB755 #55B78E #5D55B7 #B7557E
split-complementary
#AFB755 #557EB7 #8E55B7
monochromatic
#61662B #8A913E #AFB755 #C3C980 #D7DBAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB755#FFFFFF#000000##000000
##AFB7551.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)
#C3AF4B
Deuteranopia (green-blind)
#C3B25A
Tritanopia (blue-blind)
#B9ADA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb755;
/* rgb */ color: rgb(175, 183, 85);
/* oklch */ color: oklch(75.3% 0.123 113.2);
Tailwind
colors: {
  custom: {
    50: '#c9cc88',
    500: '#afb755',
    950: '#000000',
  },
}
SCSS
$custom: #afb755;
$custom-light: #c9cc88;
$custom-dark: #000000;
JSON
{
  "hex": "#afb755",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 85
  },
  "hsl": {
    "h": 64.898,
    "s": 40.496,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75272,
    "c": 0.12274,
    "h": 113.2
  },
  "luminance": 0.43637
}

Semantic roles & 50–950 ramp

primary
#AFB755
secondary
#A29FC9
accent
#57D061
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB755

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

Preview Lab → · Contrast checker → · Palette generator →

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