#AFC348#AFC348

#AFC348 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.148 H 117.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#AFC348
RGBrgb(175, 195, 72)
HSLhsl(70, 51%, 52%)
HSVhsv(70, 63%, 76%)
CMYKcmyk(10.3%, 0%, 63.1%, 23.5%)
CIE-LABlab(75.21, -23.63, 57.55)
CIE-LCHlch(75.21, 62.21, 112.32°)
OKLaboklab(77.82% -0.0693 0.1313)
OKLCHoklch(77.82% 0.148 117.8)
XYZxyz(38.3647, 48.6124, 13.4917)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC348 #5C48C3
analogous
#C39948 #AFC348 #72C348
triadic
#AFC348 #48AFC3 #C348AF
tetradic
#AFC348 #48C399 #5C48C3 #C34872
square
#AFC348 #48C399 #5C48C3 #C34872
split-complementary
#AFC348 #4872C3 #9948C3
monochromatic
#616D24 #8A9B33 #AFC348 #C3D276 #D7E1A4

Accessibility & contrast

On white

1.96
#AFC348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#AFC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC348
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC348#FFFFFF#000000##000000
##AFC3481.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB939
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#B9B9A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc348;
/* rgb */ color: rgb(175, 195, 72);
/* oklch */ color: oklch(77.8% 0.148 117.8);
Tailwind
colors: {
  custom: {
    50: '#cad581',
    500: '#afc348',
    950: '#000000',
  },
}
SCSS
$custom: #afc348;
$custom-light: #cad581;
$custom-dark: #000000;
JSON
{
  "hex": "#afc348",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 69.756,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77816,
    "c": 0.14846,
    "h": 117.8
  },
  "luminance": 0.48612
}

Semantic roles & 50–950 ramp

primary
#AFC348
secondary
#A199CE
accent
#4EDA65
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC348

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

Preview Lab → · Contrast checker → · Palette generator →

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