#AFC062#AFC062

#AFC062 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 77.4% C 0.121 H 117.8°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#AFC062
RGBrgb(175, 192, 98)
HSLhsl(71, 43%, 57%)
HSVhsv(71, 49%, 75%)
CMYKcmyk(8.9%, 0%, 49%, 24.7%)
CIE-LABlab(74.63, -19.96, 45.06)
CIE-LCHlch(74.63, 49.28, 113.89°)
OKLaboklab(77.44% -0.0565 0.1072)
OKLCHoklch(77.44% 0.121 117.8)
XYZxyz(38.7338, 47.6954, 18.7185)
Luminance0.4769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC062 #7362C0
analogous
#C0A262 #AFC062 #80C062
triadic
#AFC062 #62AFC0 #C062AF
tetradic
#AFC062 #62C0A2 #7362C0 #C06280
square
#AFC062 #62C0A2 #7362C0 #C06280
split-complementary
#AFC062 #6280C0 #A262C0
monochromatic
#6B7830 #92A342 #AFC062 #C5D28E #DCE3B9

Accessibility & contrast

On white

1.99
#AFC062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#AFC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC062
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC062#FFFFFF#000000##000000
##AFC0621.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB75A
Deuteranopia (green-blind)
#C9B867
Tritanopia (blue-blind)
#B7B7AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc062;
/* rgb */ color: rgb(175, 192, 98);
/* oklch */ color: oklch(77.4% 0.121 117.8);
Tailwind
colors: {
  custom: {
    50: '#c8d391',
    500: '#afc062',
    950: '#000000',
  },
}
SCSS
$custom: #afc062;
$custom-light: #c8d391;
$custom-dark: #000000;
JSON
{
  "hex": "#afc062",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 70.851,
    "s": 42.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77437,
    "c": 0.1212,
    "h": 117.8
  },
  "luminance": 0.47695
}

Semantic roles & 50–950 ramp

primary
#AFC062
secondary
#B3ACD2
accent
#55D36C
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFC062

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

Preview Lab → · Contrast checker → · Palette generator →

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