#C7CA55#C7CA55

#C7CA55 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.139 H 110.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#C7CA55
RGBrgb(199, 202, 85)
HSLhsl(62, 52%, 56%)
HSVhsv(62, 58%, 79%)
CMYKcmyk(1.5%, 0%, 57.9%, 20.8%)
CIE-LABlab(79.06, -16.30, 56.68)
CIE-LCHlch(79.06, 58.98, 106.05°)
OKLaboklab(81.39% -0.0488 0.1306)
OKLCHoklch(81.39% 0.139 110.5)
XYZxyz(46.3147, 55.0402, 16.7766)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA55 #5855CA
analogous
#CA9355 #C7CA55 #8DCA55
triadic
#C7CA55 #55C7CA #CA55C7
tetradic
#C7CA55 #55CA93 #5855CA #CA558D
square
#C7CA55 #55CA93 #5855CA #CA558D
split-complementary
#C7CA55 #558DCA #9355CA
monochromatic
#7B7D27 #A9AC36 #C7CA55 #D6D984 #E6E7B2

Accessibility & contrast

On white

1.75
#C7CA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#C7CA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA55
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA55#FFFFFF#000000##000000
##C7CA551.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C248
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#D4BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca55;
/* rgb */ color: rgb(199, 202, 85);
/* oklch */ color: oklch(81.4% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda89',
    500: '#c7ca55',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca55;
$custom-light: #dbda89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca55",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 61.538,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81388,
    "c": 0.13946,
    "h": 110.5
  },
  "luminance": 0.55039
}

Semantic roles & 50–950 ramp

primary
#C7CA55
secondary
#403E85
accent
#4CDC50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CA55

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

Preview Lab → · Contrast checker → · Palette generator →

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