#AFC055#AFC055

#AFC055 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.134 H 117.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#AFC055
RGBrgb(175, 192, 85)
HSLhsl(70, 46%, 54%)
HSVhsv(70, 56%, 75%)
CMYKcmyk(8.9%, 0%, 55.7%, 24.7%)
CIE-LABlab(74.49, -21.15, 51.04)
CIE-LCHlch(74.49, 55.25, 112.51°)
OKLaboklab(77.28% -0.0611 0.119)
OKLCHoklch(77.28% 0.134 117.2)
XYZxyz(38.1691, 47.4695, 15.7443)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC055 #6655C0
analogous
#C09C55 #AFC055 #7AC055
triadic
#AFC055 #55AFC0 #C055AF
tetradic
#AFC055 #55C09C #6655C0 #C0557A
square
#AFC055 #55C09C #6655C0 #C0557A
split-complementary
#AFC055 #557AC0 #9C55C0
monochromatic
#66712A #8E9D3A #AFC055 #C4D182 #D9E1AE

Accessibility & contrast

On white

2.00
#AFC055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#AFC055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC055
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC055#FFFFFF#000000##000000
##AFC0551.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74A
Deuteranopia (green-blind)
#CAB85B
Tritanopia (blue-blind)
#B8B6A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc055;
/* rgb */ color: rgb(175, 192, 85);
/* oklch */ color: oklch(77.3% 0.134 117.2);
Tailwind
colors: {
  custom: {
    50: '#c9d388',
    500: '#afc055',
    950: '#000000',
  },
}
SCSS
$custom: #afc055;
$custom-light: #c9d388;
$custom-dark: #000000;
JSON
{
  "hex": "#afc055",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 85
  },
  "hsl": {
    "h": 69.533,
    "s": 45.923,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77276,
    "c": 0.13378,
    "h": 117.2
  },
  "luminance": 0.47469
}

Semantic roles & 50–950 ramp

primary
#AFC055
secondary
#A9A2CF
accent
#52D667
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC055

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

Preview Lab → · Contrast checker → · Palette generator →

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