#C7CD54#C7CD54

#C7CD54 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.144 H 111.8°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#C7CD54
RGBrgb(199, 205, 84)
HSLhsl(63, 55%, 57%)
HSVhsv(63, 59%, 80%)
CMYKcmyk(2.9%, 0%, 59%, 19.6%)
CIE-LABlab(79.87, -17.87, 58.01)
CIE-LCHlch(79.87, 60.70, 107.12°)
OKLaboklab(82.03% -0.0534 0.1333)
OKLCHoklch(82.03% 0.144 111.8)
XYZxyz(46.9860, 56.4459, 16.8058)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD54 #5A54CD
analogous
#CD9754 #C7CD54 #8BCD54
triadic
#C7CD54 #54C7CD #CD54C7
tetradic
#C7CD54 #54CD97 #5A54CD #CD548B
square
#C7CD54 #54CD97 #5A54CD #CD548B
split-complementary
#C7CD54 #548BCD #9754CD
monochromatic
#7C8126 #AAB034 #C7CD54 #D7DB83 #E6E9B3

Accessibility & contrast

On white

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

On black

12.29
#C7CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD54
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD54#FFFFFF#000000##000000
##C7CD541.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC446
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#D3C2B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd54;
/* rgb */ color: rgb(199, 205, 84);
/* oklch */ color: oklch(82.0% 0.144 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc89',
    500: '#c7cd54',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd54;
$custom-light: #dbdc89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd54",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 62.975,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82026,
    "c": 0.14361,
    "h": 111.8
  },
  "luminance": 0.56445
}

Semantic roles & 50–950 ramp

primary
#C7CD54
secondary
#413D88
accent
#4ADE51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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