#C7CA2A#C7CA2A

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

Color values

HEX#C7CA2A
RGBrgb(199, 202, 42)
HSLhsl(61, 66%, 48%)
HSVhsv(61, 79%, 79%)
CMYKcmyk(1.5%, 0%, 79.2%, 20.8%)
CIE-LABlab(78.78, -18.58, 72.16)
CIE-LCHlch(78.78, 74.51, 104.44°)
OKLaboklab(81.07% -0.0593 0.1565)
OKLCHoklch(81.07% 0.167 110.7)
XYZxyz(45.0933, 54.5516, 10.3442)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA2A #2D2ACA
analogous
#CA7D2A #C7CA2A #77CA2A
triadic
#C7CA2A #2AC7CA #CA2AC7
tetradic
#C7CA2A #2ACA7D #2D2ACA #CA2A77
square
#C7CA2A #2ACA7D #2D2ACA #CA2A77
split-complementary
#C7CA2A #2A77CA #7D2ACA
monochromatic
#636515 #95971F #C7CA2A #D9DC55 #E5E688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c7ca2a;
/* rgb */ color: rgb(199, 202, 42);
/* oklch */ color: oklch(81.1% 0.167 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd973',
    500: '#c7ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca2a;
$custom-light: #dcd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca2a",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 61.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.81073,
    "c": 0.16733,
    "h": 110.7
  },
  "luminance": 0.5455
}

Semantic roles & 50–950 ramp

primary
#C7CA2A
secondary
#2A296F
accent
#3FE942
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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