#AFB855#AFB855

#AFB855 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.5% C 0.124 H 113.7°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#AFB855
RGBrgb(175, 184, 85)
HSLhsl(65, 41%, 53%)
HSVhsv(65, 54%, 72%)
CMYKcmyk(4.9%, 0%, 53.8%, 27.8%)
CIE-LABlab(72.26, -17.15, 48.48)
CIE-LCHlch(72.26, 51.43, 109.47°)
OKLaboklab(75.49% -0.0498 0.1135)
OKLCHoklch(75.49% 0.124 113.7)
XYZxyz(36.4601, 44.0514, 15.1747)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB855 #5E55B8
analogous
#B89055 #AFB855 #7DB855
triadic
#AFB855 #55AFB8 #B855AF
tetradic
#AFB855 #55B890 #5E55B8 #B8557D
square
#AFB855 #55B890 #5E55B8 #B8557D
split-complementary
#AFB855 #557DB8 #9055B8
monochromatic
#62672B #8B933D #AFB855 #C3CA80 #D8DCAB

Accessibility & contrast

On white

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

On black

9.81
#AFB855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB855
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB855#FFFFFF#000000##000000
##AFB8551.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04B
Deuteranopia (green-blind)
#C4B25B
Tritanopia (blue-blind)
#B9AEA2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb855;
/* rgb */ color: rgb(175, 184, 85);
/* oklch */ color: oklch(75.5% 0.124 113.7);
Tailwind
colors: {
  custom: {
    50: '#c9cd88',
    500: '#afb855',
    950: '#000000',
  },
}
SCSS
$custom: #afb855;
$custom-light: #c9cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#afb855",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 65.455,
    "s": 41.079,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75494,
    "c": 0.12395,
    "h": 113.7
  },
  "luminance": 0.44051
}

Semantic roles & 50–950 ramp

primary
#AFB855
secondary
#A39FCA
accent
#57D162
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB855

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

Preview Lab → · Contrast checker → · Palette generator →

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