#AFC039#AFC039

#AFC039 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.156 H 116.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#AFC039
RGBrgb(175, 192, 57)
HSLhsl(68, 54%, 49%)
HSVhsv(68, 70%, 75%)
CMYKcmyk(8.9%, 0%, 70.3%, 24.7%)
CIE-LABlab(74.26, -23.09, 62.47)
CIE-LCHlch(74.26, 66.60, 110.28°)
OKLaboklab(77.02% -0.0693 0.1394)
OKLCHoklch(77.02% 0.156 116.4)
XYZxyz(37.2683, 47.1091, 10.9998)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC039 #4A39C0
analogous
#C08E39 #AFC039 #6BC039
triadic
#AFC039 #39AFC0 #C039AF
tetradic
#AFC039 #39C08E #4A39C0 #C0396B
square
#AFC039 #39C08E #4A39C0 #C0396B
split-complementary
#AFC039 #396BC0 #8E39C0
monochromatic
#59621D #84912B #AFC039 #C4D165 #D6DF94

Accessibility & contrast

On white

2.02
#AFC039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#AFC039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC039
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC039#FFFFFF#000000##000000
##AFC0391.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB622
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc039;
/* rgb */ color: rgb(175, 192, 57);
/* oklch */ color: oklch(77.0% 0.156 116.4);
Tailwind
colors: {
  custom: {
    50: '#cad278',
    500: '#afc039',
    950: '#000000',
  },
}
SCSS
$custom: #afc039;
$custom-light: #cad278;
$custom-dark: #000000;
JSON
{
  "hex": "#afc039",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 57
  },
  "hsl": {
    "h": 67.556,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77018,
    "c": 0.15564,
    "h": 116.4
  },
  "luminance": 0.47109
}

Semantic roles & 50–950 ramp

primary
#AFC039
secondary
#928ACB
accent
#4ADE5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC039

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

Preview Lab → · Contrast checker → · Palette generator →

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