#AFB050#AFB050

#AFB050 is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.119 H 109.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#AFB050
RGBrgb(175, 176, 80)
HSLhsl(61, 38%, 50%)
HSVhsv(61, 55%, 69%)
CMYKcmyk(0.6%, 0%, 54.5%, 31%)
CIE-LABlab(70.00, -13.48, 48.23)
CIE-LCHlch(70.00, 50.08, 105.62°)
OKLaboklab(73.67% -0.0399 0.1124)
OKLCHoklch(73.67% 0.119 109.5)
XYZxyz(34.6534, 40.7447, 13.6269)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB050 #5150B0
analogous
#B08150 #AFB050 #7FB050
triadic
#AFB050 #50AFB0 #B050AF
tetradic
#AFB050 #50B081 #5150B0 #B0507F
square
#AFB050 #50B081 #5150B0 #B0507F
split-complementary
#AFB050 #507FB0 #8150B0
monochromatic
#5C5C2A #85863D #AFB050 #C2C37A #D6D6A4

Accessibility & contrast

On white

2.30
#AFB050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#AFB050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB050
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB050#FFFFFF#000000##000000
##AFB0501.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA946
Deuteranopia (green-blind)
#BEAD55
Tritanopia (blue-blind)
#BAA69B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb050;
/* rgb */ color: rgb(175, 176, 80);
/* oklch */ color: oklch(73.7% 0.119 109.5);
Tailwind
colors: {
  custom: {
    50: '#c9c784',
    500: '#afb050',
    950: '#000000',
  },
}
SCSS
$custom: #afb050;
$custom-light: #c9c784;
$custom-dark: #000000;
JSON
{
  "hex": "#afb050",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 60.625,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73668,
    "c": 0.11931,
    "h": 109.5
  },
  "luminance": 0.40744
}

Semantic roles & 50–950 ramp

primary
#AFB050
secondary
#9998C3
accent
#5ACE5B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB050

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

Preview Lab → · Contrast checker → · Palette generator →

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