#C7CA66#C7CA66

#C7CA66 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.124 H 110.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#C7CA66
RGBrgb(199, 202, 102)
HSLhsl(62, 49%, 60%)
HSVhsv(62, 50%, 79%)
CMYKcmyk(1.5%, 0%, 49.5%, 20.8%)
CIE-LABlab(79.24, -14.92, 49.07)
CIE-LCHlch(79.24, 51.29, 106.91°)
OKLaboklab(81.58% -0.0431 0.1161)
OKLCHoklch(81.58% 0.124 110.4)
XYZxyz(47.0730, 55.3435, 20.7704)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA66 #6966CA
analogous
#CA9B66 #C7CA66 #95CA66
triadic
#C7CA66 #66C7CA #CA66C7
tetradic
#C7CA66 #66CA9B #6966CA #CA6695
square
#C7CA66 #66CA9B #6966CA #CA6695
split-complementary
#C7CA66 #6695CA #9B66CA
monochromatic
#84872F #B1B43E #C7CA66 #D8DA93 #E8E9C1

Accessibility & contrast

On white

1.74
#C7CA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#C7CA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA66
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA66#FFFFFF#000000##000000
##C7CA661.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35D
Deuteranopia (green-blind)
#D8C66B
Tritanopia (blue-blind)
#D3C0B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca66;
/* rgb */ color: rgb(199, 202, 102);
/* oklch */ color: oklch(81.6% 0.124 110.4);
Tailwind
colors: {
  custom: {
    50: '#dada94',
    500: '#c7ca66',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca66;
$custom-light: #dada94;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca66",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 61.8,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81584,
    "c": 0.12381,
    "h": 110.4
  },
  "luminance": 0.55342
}

Semantic roles & 50–950 ramp

primary
#C7CA66
secondary
#48468E
accent
#50D854
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C7CA66

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

Preview Lab → · Contrast checker → · Palette generator →

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