#AFC059#AFC059

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

Color values

HEX#AFC059
RGBrgb(175, 192, 89)
HSLhsl(70, 45%, 55%)
HSVhsv(70, 54%, 75%)
CMYKcmyk(8.9%, 0%, 53.6%, 24.7%)
CIE-LABlab(74.53, -20.80, 49.23)
CIE-LCHlch(74.53, 53.45, 112.91°)
OKLaboklab(77.32% -0.0597 0.1155)
OKLCHoklch(77.32% 0.13 117.3)
XYZxyz(38.3325, 47.5349, 16.6050)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC059 #6A59C0
analogous
#C09E59 #AFC059 #7BC059
triadic
#AFC059 #59AFC0 #C059AF
tetradic
#AFC059 #59C09E #6A59C0 #C0597B
square
#AFC059 #59C09E #6A59C0 #C0597B
split-complementary
#AFC059 #597BC0 #9E59C0
monochromatic
#67732C #8F9F3C #AFC059 #C4D185 #DAE2B2

Accessibility & contrast

On white

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

On black

10.51
#AFC059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC059
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC059#FFFFFF#000000##000000
##AFC0591.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc059;
/* rgb */ color: rgb(175, 192, 89);
/* oklch */ color: oklch(77.3% 0.130 117.3);
Tailwind
colors: {
  custom: {
    50: '#c9d38b',
    500: '#afc059',
    950: '#000000',
  },
}
SCSS
$custom: #afc059;
$custom-light: #c9d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc059",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 69.903,
    "s": 44.978,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77323,
    "c": 0.13006,
    "h": 117.3
  },
  "luminance": 0.47535
}

Semantic roles & 50–950 ramp

primary
#AFC059
secondary
#ACA5D0
accent
#53D569
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC059

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

Preview Lab → · Contrast checker → · Palette generator →

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