#AFC054#AFC054

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

Color values

HEX#AFC054
RGBrgb(175, 192, 84)
HSLhsl(69, 46%, 54%)
HSVhsv(69, 56%, 75%)
CMYKcmyk(8.9%, 0%, 56.3%, 24.7%)
CIE-LABlab(74.48, -21.23, 51.49)
CIE-LCHlch(74.48, 55.69, 112.41°)
OKLaboklab(77.27% -0.0614 0.1199)
OKLCHoklch(77.27% 0.135 117.1)
XYZxyz(38.1297, 47.4537, 15.5366)
Luminance0.4745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC054 #6554C0
analogous
#C09B54 #AFC054 #79C054
triadic
#AFC054 #54AFC0 #C054AF
tetradic
#AFC054 #54C09B #6554C0 #C05479
square
#AFC054 #54C09B #6554C0 #C05479
split-complementary
#AFC054 #5479C0 #9B54C0
monochromatic
#657029 #8D9D3A #AFC054 #C4D081 #D9E1AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC054#FFFFFF#000000##000000
##AFC0541.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)
#CCB749
Deuteranopia (green-blind)
#CAB85B
Tritanopia (blue-blind)
#B8B6A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc054;
/* rgb */ color: rgb(175, 192, 84);
/* oklch */ color: oklch(77.3% 0.135 117.1);
Tailwind
colors: {
  custom: {
    50: '#c9d388',
    500: '#afc054',
    950: '#000000',
  },
}
SCSS
$custom: #afc054;
$custom-light: #c9d388;
$custom-dark: #000000;
JSON
{
  "hex": "#afc054",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 84
  },
  "hsl": {
    "h": 69.444,
    "s": 46.154,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77265,
    "c": 0.13469,
    "h": 117.1
  },
  "luminance": 0.47453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC054

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

Preview Lab → · Contrast checker → · Palette generator →

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