#AFC839#AFC839

#AFC839 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.8% C 0.165 H 119.1°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#AFC839
RGBrgb(175, 200, 57)
HSLhsl(70, 57%, 50%)
HSVhsv(70, 72%, 78%)
CMYKcmyk(12.5%, 0%, 71.5%, 21.6%)
CIE-LABlab(76.51, -26.96, 64.68)
CIE-LCHlch(76.51, 70.08, 112.63°)
OKLaboklab(78.83% -0.08 0.144)
OKLCHoklch(78.83% 0.165 119.1)
XYZxyz(39.0728, 50.7182, 11.6013)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC839 #5239C8
analogous
#C89A39 #AFC839 #67C839
triadic
#AFC839 #39AFC8 #C839AF
tetradic
#AFC839 #39C89A #5239C8 #C83967
square
#AFC839 #39C89A #5239C8 #C83967
split-complementary
#AFC839 #3967C8 #9A39C8
monochromatic
#5C691D #86992B #AFC839 #C2D569 #D6E399

Accessibility & contrast

On white

1.88
#AFC839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#AFC839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC839
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC839#FFFFFF#000000##000000
##AFC8391.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1F
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#B9BDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc839;
/* rgb */ color: rgb(175, 200, 57);
/* oklch */ color: oklch(78.8% 0.165 119.1);
Tailwind
colors: {
  custom: {
    50: '#cad879',
    500: '#afc839',
    950: '#000000',
  },
}
SCSS
$custom: #afc839;
$custom-light: #cad879;
$custom-dark: #000000;
JSON
{
  "hex": "#afc839",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 70.49,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.16475,
    "h": 119.1
  },
  "luminance": 0.50718
}

Semantic roles & 50–950 ramp

primary
#AFC839
secondary
#3D3273
accent
#48E063
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC839

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

Preview Lab → · Contrast checker → · Palette generator →

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