#AFC057#AFC057

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

Color values

HEX#AFC057
RGBrgb(175, 192, 87)
HSLhsl(70, 45%, 55%)
HSVhsv(70, 55%, 75%)
CMYKcmyk(8.9%, 0%, 54.7%, 24.7%)
CIE-LABlab(74.51, -20.98, 50.14)
CIE-LCHlch(74.51, 54.35, 112.71°)
OKLaboklab(77.3% -0.0604 0.1173)
OKLCHoklch(77.3% 0.132 117.3)
XYZxyz(38.2497, 47.5017, 16.1687)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC057 #6857C0
analogous
#C09C57 #AFC057 #7BC057
triadic
#AFC057 #57AFC0 #C057AF
tetradic
#AFC057 #57C09C #6857C0 #C0577B
square
#AFC057 #57C09C #6857C0 #C0577B
split-complementary
#AFC057 #577BC0 #9C57C0
monochromatic
#66722B #8E9E3B #AFC057 #C4D184 #D9E1B0

Accessibility & contrast

On white

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

On black

10.50
#AFC057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC057
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC057#FFFFFF#000000##000000
##AFC0571.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74C
Deuteranopia (green-blind)
#CAB85D
Tritanopia (blue-blind)
#B8B7A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc057;
/* rgb */ color: rgb(175, 192, 87);
/* oklch */ color: oklch(77.3% 0.132 117.3);
Tailwind
colors: {
  custom: {
    50: '#c9d38a',
    500: '#afc057',
    950: '#000000',
  },
}
SCSS
$custom: #afc057;
$custom-light: #c9d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc057",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 69.714,
    "s": 45.455,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77299,
    "c": 0.13194,
    "h": 117.3
  },
  "luminance": 0.47501
}

Semantic roles & 50–950 ramp

primary
#AFC057
secondary
#AAA3D0
accent
#53D568
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC057

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

Preview Lab → · Contrast checker → · Palette generator →

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