#AFC834#AFC834

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

Color values

HEX#AFC834
RGBrgb(175, 200, 52)
HSLhsl(70, 59%, 49%)
HSVhsv(70, 74%, 78%)
CMYKcmyk(12.5%, 0%, 74%, 21.6%)
CIE-LABlab(76.48, -27.22, 66.37)
CIE-LCHlch(76.48, 71.73, 112.30°)
OKLaboklab(78.79% -0.0811 0.1467)
OKLCHoklch(78.79% 0.168 118.9)
XYZxyz(38.9541, 50.6707, 10.9764)
Luminance0.5067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC834 #4D34C8
analogous
#C89734 #AFC834 #65C834
triadic
#AFC834 #34AFC8 #C834AF
tetradic
#AFC834 #34C897 #4D34C8 #C83465
square
#AFC834 #34C897 #4D34C8 #C83465
split-complementary
#AFC834 #3465C8 #9734C8
monochromatic
#5A671B #859727 #AFC834 #C3D663 #D6E393

Accessibility & contrast

On white

1.89
#AFC834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#AFC834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC834
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC834#FFFFFF#000000##000000
##AFC8341.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc834;
/* rgb */ color: rgb(175, 200, 52);
/* oklch */ color: oklch(78.8% 0.168 118.9);
Tailwind
colors: {
  custom: {
    50: '#cad876',
    500: '#afc834',
    950: '#000000',
  },
}
SCSS
$custom: #afc834;
$custom-light: #cad876;
$custom-dark: #000000;
JSON
{
  "hex": "#afc834",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 70.135,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78793,
    "c": 0.16768,
    "h": 118.9
  },
  "luminance": 0.5067
}

Semantic roles & 50–950 ramp

primary
#AFC834
secondary
#3A2F71
accent
#46E260
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC834

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

Preview Lab → · Contrast checker → · Palette generator →

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