#C7CA2D#C7CA2D

#C7CA2D is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.1% C 0.166 H 110.7°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C7CA2D
RGBrgb(199, 202, 45)
HSLhsl(61, 64%, 48%)
HSVhsv(61, 78%, 79%)
CMYKcmyk(1.5%, 0%, 77.7%, 20.8%)
CIE-LABlab(78.80, -18.47, 71.33)
CIE-LCHlch(78.80, 73.68, 104.52°)
OKLaboklab(81.09% -0.0588 0.1552)
OKLCHoklch(81.09% 0.166 110.7)
XYZxyz(45.1490, 54.5739, 10.6376)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA2D #302DCA
analogous
#CA7E2D #C7CA2D #79CA2D
triadic
#C7CA2D #2DC7CA #CA2DC7
tetradic
#C7CA2D #2DCA7E #302DCA #CA2D79
square
#C7CA2D #2DCA7E #302DCA #CA2D79
split-complementary
#C7CA2D #2D79CA #7E2DCA
monochromatic
#646617 #969822 #C7CA2D #D8DA5A #E4E58C

Accessibility & contrast

On white

1.76
#C7CA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#C7CA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA2D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA2D#FFFFFF#000000##000000
##C7CA2D1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DCC53B
Tritanopia (blue-blind)
#D5BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca2d;
/* rgb */ color: rgb(199, 202, 45);
/* oklch */ color: oklch(81.1% 0.166 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd974',
    500: '#c7ca2d',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca2d;
$custom-light: #dcd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca2d",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 61.146,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81087,
    "c": 0.16598,
    "h": 110.7
  },
  "luminance": 0.54573
}

Semantic roles & 50–950 ramp

primary
#C7CA2D
secondary
#2C2B70
accent
#41E744
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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