#AFC734#AFC734

#AFC734 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.6% C 0.167 H 118.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#AFC734
RGBrgb(175, 199, 52)
HSLhsl(70, 59%, 49%)
HSVhsv(70, 74%, 78%)
CMYKcmyk(12.1%, 0%, 73.9%, 22%)
CIE-LABlab(76.20, -26.74, 66.10)
CIE-LCHlch(76.20, 71.30, 112.02°)
OKLaboklab(78.57% -0.0798 0.1462)
OKLCHoklch(78.57% 0.167 118.6)
XYZxyz(38.7233, 50.2091, 10.8995)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC734 #4C34C7
analogous
#C79634 #AFC734 #66C734
triadic
#AFC734 #34AFC7 #C734AF
tetradic
#AFC734 #34C796 #4C34C7 #C73466
square
#AFC734 #34C796 #4C34C7 #C73466
split-complementary
#AFC734 #3466C7 #9634C7
monochromatic
#5A661B #849627 #AFC734 #C3D662 #D6E393

Accessibility & contrast

On white

1.90
#AFC734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#AFC734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC734
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC734#FFFFFF#000000##000000
##AFC7341.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC14
Deuteranopia (green-blind)
#D2BC41
Tritanopia (blue-blind)
#BABCAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc734;
/* rgb */ color: rgb(175, 199, 52);
/* oklch */ color: oklch(78.6% 0.167 118.6);
Tailwind
colors: {
  custom: {
    50: '#cad876',
    500: '#afc734',
    950: '#000000',
  },
}
SCSS
$custom: #afc734;
$custom-light: #cad876;
$custom-dark: #000000;
JSON
{
  "hex": "#afc734",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 52
  },
  "hsl": {
    "h": 69.796,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78567,
    "c": 0.16655,
    "h": 118.6
  },
  "luminance": 0.50209
}

Semantic roles & 50–950 ramp

primary
#AFC734
secondary
#3A2F70
accent
#46E25F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC734

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

Preview Lab → · Contrast checker → · Palette generator →

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