#C6CD45#C6CD45

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

Color values

HEX#C6CD45
RGBrgb(198, 205, 69)
HSLhsl(63, 58%, 54%)
HSVhsv(63, 66%, 80%)
CMYKcmyk(3.4%, 0%, 66.3%, 19.6%)
CIE-LABlab(79.67, -19.25, 63.95)
CIE-LCHlch(79.67, 66.78, 106.76°)
OKLaboklab(81.81% -0.0587 0.1438)
OKLCHoklch(81.81% 0.155 112.2)
XYZxyz(46.1956, 56.0991, 14.0238)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD45 #4C45CD
analogous
#CD9045 #C6CD45 #82CD45
triadic
#C6CD45 #45C6CD #CD45C6
tetradic
#C6CD45 #45CD90 #4C45CD #CD4582
square
#C6CD45 #45CD90 #4C45CD #CD4582
split-complementary
#C6CD45 #4582CD #9045CD
monochromatic
#737720 #A1A82D #C6CD45 #D5DA75 #E4E7A5

Accessibility & contrast

On white

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

On black

12.22
#C6CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CD45
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CD45#FFFFFF#000000##000000
##C6CD451.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6cd45;
/* rgb */ color: rgb(198, 205, 69);
/* oklch */ color: oklch(81.8% 0.155 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadc80',
    500: '#c6cd45',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd45;
$custom-light: #dadc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd45",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 63.088,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81812,
    "c": 0.1553,
    "h": 112.2
  },
  "luminance": 0.56098
}

Semantic roles & 50–950 ramp

primary
#C6CD45
secondary
#3A3680
accent
#47E14F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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