#AFB850#AFB850

#AFB850 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.129 H 113.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#AFB850
RGBrgb(175, 184, 80)
HSLhsl(65, 42%, 52%)
HSVhsv(65, 57%, 72%)
CMYKcmyk(4.9%, 0%, 56.5%, 27.8%)
CIE-LABlab(72.21, -17.56, 50.75)
CIE-LCHlch(72.21, 53.70, 109.09°)
OKLaboklab(75.44% -0.0515 0.1178)
OKLCHoklch(75.44% 0.129 113.6)
XYZxyz(36.2684, 43.9748, 14.1653)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB850 #5950B8
analogous
#B88D50 #AFB850 #7BB850
triadic
#AFB850 #50AFB8 #B850AF
tetradic
#AFB850 #50B88D #5950B8 #B8507B
square
#AFB850 #50B88D #5950B8 #B8507B
split-complementary
#AFB850 #507BB8 #8D50B8
monochromatic
#606529 #89903B #AFB850 #C3CA7C #D7DBA7

Accessibility & contrast

On white

2.14
#AFB850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#AFB850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB850
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB850#FFFFFF#000000##000000
##AFB8501.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B045
Deuteranopia (green-blind)
#C4B256
Tritanopia (blue-blind)
#B9AEA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb850;
/* rgb */ color: rgb(175, 184, 80);
/* oklch */ color: oklch(75.4% 0.129 113.6);
Tailwind
colors: {
  custom: {
    50: '#c9cd85',
    500: '#afb850',
    950: '#000000',
  },
}
SCSS
$custom: #afb850;
$custom-light: #c9cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#afb850",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 80
  },
  "hsl": {
    "h": 65.192,
    "s": 42.276,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75437,
    "c": 0.12859,
    "h": 113.6
  },
  "luminance": 0.43974
}

Semantic roles & 50–950 ramp

primary
#AFB850
secondary
#9F9BC9
accent
#56D260
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB850

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

Preview Lab → · Contrast checker → · Palette generator →

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