#AFD734#AFD734

#AFD734 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.2% C 0.185 H 122.9°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#AFD734
RGBrgb(175, 215, 52)
HSLhsl(75, 67%, 52%)
HSVhsv(75, 76%, 84%)
CMYKcmyk(18.6%, 0%, 75.8%, 15.7%)
CIE-LABlab(80.72, -34.24, 70.36)
CIE-LCHlch(80.72, 78.25, 115.95°)
OKLaboklab(82.21% -0.1004 0.1552)
OKLCHoklch(82.21% 0.185 122.9)
XYZxyz(42.6000, 57.9626, 12.1918)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD734 #5C34D7
analogous
#D7AE34 #AFD734 #5ED734
triadic
#AFD734 #34AFD7 #D734AF
tetradic
#AFD734 #34D7AE #5C34D7 #D7345E
square
#AFD734 #34D7AE #5C34D7 #D7345E
split-complementary
#AFD734 #345ED7 #AE34D7
monochromatic
#617918 #8AAC22 #AFD734 #C3E167 #D7EB9A

Accessibility & contrast

On white

1.67
#AFD734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#AFD734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD734
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD734#FFFFFF#000000##000000
##AFD7341.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C906
Deuteranopia (green-blind)
#DFC844
Tritanopia (blue-blind)
#B8CCB9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd734;
/* rgb */ color: rgb(175, 215, 52);
/* oklch */ color: oklch(82.2% 0.185 122.9);
Tailwind
colors: {
  custom: {
    50: '#cbe378',
    500: '#afd734',
    950: '#000000',
  },
}
SCSS
$custom: #afd734;
$custom-light: #cbe378;
$custom-dark: #000000;
JSON
{
  "hex": "#afd734",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 52
  },
  "hsl": {
    "h": 74.724,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82213,
    "c": 0.18484,
    "h": 122.9
  },
  "luminance": 0.57963
}

Semantic roles & 50–950 ramp

primary
#AFD734
secondary
#432E81
accent
#3EEA68
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD734

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

Preview Lab → · Contrast checker → · Palette generator →

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