#C7CA52#C7CA52

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

Color values

HEX#C7CA52
RGBrgb(199, 202, 82)
HSLhsl(62, 53%, 56%)
HSVhsv(62, 59%, 79%)
CMYKcmyk(1.5%, 0%, 59.4%, 20.8%)
CIE-LABlab(79.04, -16.52, 57.96)
CIE-LCHlch(79.04, 60.27, 105.91°)
OKLaboklab(81.36% -0.0498 0.133)
OKLCHoklch(81.36% 0.142 110.5)
XYZxyz(46.1980, 54.9935, 16.1622)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA52 #5552CA
analogous
#CA9152 #C7CA52 #8BCA52
triadic
#C7CA52 #52C7CA #CA52C7
tetradic
#C7CA52 #52CA91 #5552CA #CA528B
square
#C7CA52 #52CA91 #5552CA #CA528B
split-complementary
#C7CA52 #528BCA #9152CA
monochromatic
#7A7C26 #A8AB34 #C7CA52 #D6D881 #E5E7B0

Accessibility & contrast

On white

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

On black

12.00
#C7CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA52
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA52#FFFFFF#000000##000000
##C7CA521.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ca52;
/* rgb */ color: rgb(199, 202, 82);
/* oklch */ color: oklch(81.4% 0.142 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbd987',
    500: '#c7ca52',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca52;
$custom-light: #dbd987;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca52",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 61.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81358,
    "c": 0.14198,
    "h": 110.5
  },
  "luminance": 0.54992
}

Semantic roles & 50–950 ramp

primary
#C7CA52
secondary
#3E3C84
accent
#4BDD4F
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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