#C7CA50#C7CA50

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

Color values

HEX#C7CA50
RGBrgb(199, 202, 80)
HSLhsl(61, 54%, 55%)
HSVhsv(61, 60%, 79%)
CMYKcmyk(1.5%, 0%, 60.4%, 20.8%)
CIE-LABlab(79.02, -16.66, 58.80)
CIE-LCHlch(79.02, 61.12, 105.82°)
OKLaboklab(81.34% -0.0504 0.1345)
OKLCHoklch(81.34% 0.144 110.5)
XYZxyz(46.1230, 54.9635, 15.7672)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA50 #5350CA
analogous
#CA9050 #C7CA50 #8ACA50
triadic
#C7CA50 #50C7CA #CA50C7
tetradic
#C7CA50 #50CA90 #5350CA #CA508A
square
#C7CA50 #50CA90 #5350CA #CA508A
split-complementary
#C7CA50 #508ACA #9050CA
monochromatic
#787A25 #A7A933 #C7CA50 #D6D87F #E5E6AE

Accessibility & contrast

On white

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

On black

11.99
#C7CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA50
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA50#FFFFFF#000000##000000
##C7CA501.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#D4BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca50;
/* rgb */ color: rgb(199, 202, 80);
/* oklch */ color: oklch(81.3% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbd986',
    500: '#c7ca50',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca50;
$custom-light: #dbd986;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca50",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 61.475,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81339,
    "c": 0.1436,
    "h": 110.5
  },
  "luminance": 0.54962
}

Semantic roles & 50–950 ramp

primary
#C7CA50
secondary
#3D3B83
accent
#4BDD4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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