#C7CD46#C7CD46

#C7CD46 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.154 H 111.8°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C7CD46
RGBrgb(199, 205, 70)
HSLhsl(63, 57%, 54%)
HSVhsv(63, 66%, 80%)
CMYKcmyk(2.9%, 0%, 65.9%, 19.6%)
CIE-LABlab(79.75, -18.78, 63.67)
CIE-LCHlch(79.75, 66.38, 106.43°)
OKLaboklab(81.9% -0.0574 0.1433)
OKLCHoklch(81.9% 0.154 111.8)
XYZxyz(46.4914, 56.2480, 14.2011)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD46 #4C46CD
analogous
#CD9046 #C7CD46 #84CD46
triadic
#C7CD46 #46C7CD #CD46C7
tetradic
#C7CD46 #46CD90 #4C46CD #CD4684
square
#C7CD46 #46CD90 #4C46CD #CD4684
split-complementary
#C7CD46 #4684CD #9046CD
monochromatic
#747820 #A3A82D #C7CD46 #D6DA76 #E4E7A6

Accessibility & contrast

On white

1.71
#C7CD46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#C7CD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD46
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD46#FFFFFF#000000##000000
##C7CD461.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC433
Deuteranopia (green-blind)
#DDC74F
Tritanopia (blue-blind)
#D4C1B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd46;
/* rgb */ color: rgb(199, 205, 70);
/* oklch */ color: oklch(81.9% 0.154 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc81',
    500: '#c7cd46',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd46;
$custom-light: #dbdc81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd46",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 70
  },
  "hsl": {
    "h": 62.667,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81901,
    "c": 0.15436,
    "h": 111.8
  },
  "luminance": 0.56247
}

Semantic roles & 50–950 ramp

primary
#C7CD46
secondary
#3A3780
accent
#47E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CD46

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

Preview Lab → · Contrast checker → · Palette generator →

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