#AFC634#AFC634

#AFC634 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.3% C 0.165 H 118.3°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#AFC634
RGBrgb(175, 198, 52)
HSLhsl(69, 58%, 49%)
HSVhsv(69, 74%, 78%)
CMYKcmyk(11.6%, 0%, 73.7%, 22.4%)
CIE-LABlab(75.92, -26.26, 65.83)
CIE-LCHlch(75.92, 70.87, 111.75°)
OKLaboklab(78.34% -0.0785 0.1456)
OKLCHoklch(78.34% 0.165 118.3)
XYZxyz(38.4940, 49.7504, 10.8231)
Luminance0.4975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC634 #4B34C6
analogous
#C69434 #AFC634 #66C634
triadic
#AFC634 #34AFC6 #C634AF
tetradic
#AFC634 #34C694 #4B34C6 #C63466
square
#AFC634 #34C694 #4B34C6 #C63466
split-complementary
#AFC634 #3466C6 #9434C6
monochromatic
#59651B #849627 #AFC634 #C3D662 #D6E292

Accessibility & contrast

On white

1.92
#AFC634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#AFC634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC634
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC634#FFFFFF#000000##000000
##AFC6341.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB15
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#BABBAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc634;
/* rgb */ color: rgb(175, 198, 52);
/* oklch */ color: oklch(78.3% 0.165 118.3);
Tailwind
colors: {
  custom: {
    50: '#cad776',
    500: '#afc634',
    950: '#000000',
  },
}
SCSS
$custom: #afc634;
$custom-light: #cad776;
$custom-dark: #000000;
JSON
{
  "hex": "#afc634",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 52
  },
  "hsl": {
    "h": 69.452,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7834,
    "c": 0.16542,
    "h": 118.3
  },
  "luminance": 0.4975
}

Semantic roles & 50–950 ramp

primary
#AFC634
secondary
#9389CD
accent
#46E25F
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC634

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

Preview Lab → · Contrast checker → · Palette generator →

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