#C7CD34#C7CD34

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

Color values

HEX#C7CD34
RGBrgb(199, 205, 52)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(2.9%, 0%, 74.6%, 19.6%)
CIE-LABlab(79.64, -19.68, 69.97)
CIE-LCHlch(79.64, 72.69, 105.71°)
OKLaboklab(81.78% -0.0616 0.1536)
OKLCHoklch(81.78% 0.165 111.8)
XYZxyz(46.0059, 56.0538, 11.6442)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD34 #3A34CD
analogous
#CD8634 #C7CD34 #7ACD34
triadic
#C7CD34 #34C7CD #CD34C7
tetradic
#C7CD34 #34CD86 #3A34CD #CD347A
square
#C7CD34 #34CD86 #3A34CD #CD347A
split-complementary
#C7CD34 #347ACD #8634CD
monochromatic
#696C1B #989D27 #C7CD34 #D5D965 #E2E596

Accessibility & contrast

On white

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

On black

12.21
#C7CD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD34
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD34#FFFFFF#000000##000000
##C7CD341.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC30E
Deuteranopia (green-blind)
#DEC741
Tritanopia (blue-blind)
#D5C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cd34;
/* rgb */ color: rgb(199, 205, 52);
/* oklch */ color: oklch(81.8% 0.165 111.8);
Tailwind
colors: {
  custom: {
    50: '#dcdc77',
    500: '#c7cd34',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd34;
$custom-light: #dcdc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd34",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 62.353,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81777,
    "c": 0.16547,
    "h": 111.8
  },
  "luminance": 0.56053
}

Semantic roles & 50–950 ramp

primary
#C7CD34
secondary
#323076
accent
#44E44A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #C7CD34

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

Preview Lab → · Contrast checker → · Palette generator →

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