#C7CA2C#C7CA2C

#C7CA2C 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#C7CA2C
RGBrgb(199, 202, 44)
HSLhsl(61, 64%, 48%)
HSVhsv(61, 78%, 79%)
CMYKcmyk(1.5%, 0%, 78.2%, 20.8%)
CIE-LABlab(78.79, -18.51, 71.61)
CIE-LCHlch(78.79, 73.96, 104.49°)
OKLaboklab(81.08% -0.0589 0.1557)
OKLCHoklch(81.08% 0.166 110.7)
XYZxyz(45.1300, 54.5663, 10.5374)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA2C #2F2CCA
analogous
#CA7E2C #C7CA2C #78CA2C
triadic
#C7CA2C #2CC7CA #CA2CC7
tetradic
#C7CA2C #2CCA7E #2F2CCA #CA2C78
square
#C7CA2C #2CCA7E #2F2CCA #CA2C78
split-complementary
#C7CA2C #2C78CA #7E2CCA
monochromatic
#646516 #959821 #C7CA2C #D8DB58 #E4E68B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA2C#FFFFFF#000000##000000
##C7CA2C1.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)
#DCC53A
Tritanopia (blue-blind)
#D5BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca2c;
/* rgb */ color: rgb(199, 202, 44);
/* oklch */ color: oklch(81.1% 0.166 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd973',
    500: '#c7ca2c',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca2c;
$custom-light: #dcd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca2c",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 44
  },
  "hsl": {
    "h": 61.139,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.81082,
    "c": 0.16645,
    "h": 110.7
  },
  "luminance": 0.54565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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