#C6CD48#C6CD48

#C6CD48 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.153 H 112.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#C6CD48
RGBrgb(198, 205, 72)
HSLhsl(63, 57%, 54%)
HSVhsv(63, 65%, 80%)
CMYKcmyk(3.4%, 0%, 64.9%, 19.6%)
CIE-LABlab(79.69, -19.08, 62.79)
CIE-LCHlch(79.69, 65.62, 106.90°)
OKLaboklab(81.84% -0.0579 0.1418)
OKLCHoklch(81.84% 0.153 112.2)
XYZxyz(46.2910, 56.1373, 14.5267)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD48 #4F48CD
analogous
#CD9248 #C6CD48 #84CD48
triadic
#C6CD48 #48C6CD #CD48C6
tetradic
#C6CD48 #48CD92 #4F48CD #CD4884
square
#C6CD48 #48CD92 #4F48CD #CD4884
split-complementary
#C6CD48 #4884CD #9248CD
monochromatic
#757921 #A3A92E #C6CD48 #D5DA78 #E4E7A8

Accessibility & contrast

On white

1.72
#C6CD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#C6CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CD48
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CD48#FFFFFF#000000##000000
##C6CD481.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#D3C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cd48;
/* rgb */ color: rgb(198, 205, 72);
/* oklch */ color: oklch(81.8% 0.153 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadc82',
    500: '#c6cd48',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd48;
$custom-light: #dadc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd48",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 63.158,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81836,
    "c": 0.15316,
    "h": 112.2
  },
  "luminance": 0.56136
}

Semantic roles & 50–950 ramp

primary
#C6CD48
secondary
#3B3882
accent
#47E050
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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