#AFB150#AFB150

#AFB150 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.120 H 110.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#AFB150
RGBrgb(175, 177, 80)
HSLhsl(61, 38%, 50%)
HSVhsv(61, 55%, 69%)
CMYKcmyk(1.1%, 0%, 54.8%, 30.6%)
CIE-LABlab(70.27, -13.99, 48.55)
CIE-LCHlch(70.27, 50.52, 106.08°)
OKLaboklab(73.89% -0.0414 0.1131)
OKLCHoklch(73.89% 0.12 110.1)
XYZxyz(34.8502, 41.1383, 13.6925)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB150 #5250B1
analogous
#B18250 #AFB150 #7EB150
triadic
#AFB150 #50AFB1 #B150AF
tetradic
#AFB150 #50B182 #5250B1 #B1507E
square
#AFB150 #50B182 #5250B1 #B1507E
split-complementary
#AFB150 #507EB1 #8250B1
monochromatic
#5C5D29 #86873C #AFB150 #C2C47A #D6D7A5

Accessibility & contrast

On white

2.28
#AFB150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#AFB150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB150
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB150#FFFFFF#000000##000000
##AFB1501.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA46
Deuteranopia (green-blind)
#BEAD55
Tritanopia (blue-blind)
#BAA79C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb150;
/* rgb */ color: rgb(175, 177, 80);
/* oklch */ color: oklch(73.9% 0.120 110.1);
Tailwind
colors: {
  custom: {
    50: '#c9c884',
    500: '#afb150',
    950: '#000000',
  },
}
SCSS
$custom: #afb150;
$custom-light: #c9c884;
$custom-dark: #000000;
JSON
{
  "hex": "#afb150",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 61.237,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.12044,
    "h": 110.1
  },
  "luminance": 0.41137
}

Semantic roles & 50–950 ramp

primary
#AFB150
secondary
#9A99C4
accent
#5ACE5C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB150

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

Preview Lab → · Contrast checker → · Palette generator →

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