#C5CD46#C5CD46

#C5CD46 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.7% C 0.155 H 112.6°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C5CD46
RGBrgb(197, 205, 70)
HSLhsl(64, 57%, 54%)
HSVhsv(64, 66%, 80%)
CMYKcmyk(3.9%, 0%, 65.9%, 19.6%)
CIE-LABlab(79.60, -19.61, 63.46)
CIE-LCHlch(79.60, 66.42, 107.17°)
OKLaboklab(81.74% -0.0596 0.1429)
OKLCHoklch(81.74% 0.155 112.6)
XYZxyz(45.9641, 55.9762, 14.1763)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD46 #4E46CD
analogous
#CD9246 #C5CD46 #82CD46
triadic
#C5CD46 #46C5CD #CD46C5
tetradic
#C5CD46 #46CD92 #4E46CD #CD4682
square
#C5CD46 #46CD92 #4E46CD #CD4682
split-complementary
#C5CD46 #4682CD #9246CD
monochromatic
#737820 #A1A82D #C5CD46 #D4DA76 #E3E7A6

Accessibility & contrast

On white

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

On black

12.20
#C5CD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD46
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD46#FFFFFF#000000##000000
##C5CD461.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cd46;
/* rgb */ color: rgb(197, 205, 70);
/* oklch */ color: oklch(81.7% 0.155 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc81',
    500: '#c5cd46',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd46;
$custom-light: #dadc81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd46",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 70
  },
  "hsl": {
    "h": 63.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81739,
    "c": 0.15484,
    "h": 112.6
  },
  "luminance": 0.55975
}

Semantic roles & 50–950 ramp

primary
#C5CD46
secondary
#3B3780
accent
#47E150
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CD46

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

Preview Lab → · Contrast checker → · Palette generator →

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