#AFC034#AFC034

#AFC034 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.159 H 116.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#AFC034
RGBrgb(175, 192, 52)
HSLhsl(67, 57%, 48%)
HSVhsv(67, 73%, 75%)
CMYKcmyk(8.9%, 0%, 72.9%, 24.7%)
CIE-LABlab(74.23, -23.35, 64.22)
CIE-LCHlch(74.23, 68.33, 109.98°)
OKLaboklab(76.98% -0.0704 0.1422)
OKLCHoklch(76.98% 0.159 116.4)
XYZxyz(37.1496, 47.0617, 10.3749)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC034 #4534C0
analogous
#C08B34 #AFC034 #69C034
triadic
#AFC034 #34AFC0 #C034AF
tetradic
#AFC034 #34C08B #4534C0 #C03469
square
#AFC034 #34C08B #4534C0 #C03469
split-complementary
#AFC034 #3469C0 #8B34C0
monochromatic
#57601A #839027 #AFC034 #C5D35E #D6E08E

Accessibility & contrast

On white

2.02
#AFC034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#AFC034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC034
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC034#FFFFFF#000000##000000
##AFC0341.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB618
Deuteranopia (green-blind)
#CCB740
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afc034;
/* rgb */ color: rgb(175, 192, 52);
/* oklch */ color: oklch(77.0% 0.159 116.4);
Tailwind
colors: {
  custom: {
    50: '#cad275',
    500: '#afc034',
    950: '#000000',
  },
}
SCSS
$custom: #afc034;
$custom-light: #cad275;
$custom-dark: #000000;
JSON
{
  "hex": "#afc034",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 52
  },
  "hsl": {
    "h": 67.286,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76984,
    "c": 0.1587,
    "h": 116.4
  },
  "luminance": 0.47061
}

Semantic roles & 50–950 ramp

primary
#AFC034
secondary
#8D85CB
accent
#47E15A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC034

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

Preview Lab → · Contrast checker → · Palette generator →

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