#C7CA48#C7CA48

#C7CA48 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.150 H 110.6°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C7CA48
RGBrgb(199, 202, 72)
HSLhsl(61, 55%, 54%)
HSVhsv(61, 64%, 79%)
CMYKcmyk(1.5%, 0%, 64.4%, 20.8%)
CIE-LABlab(78.96, -17.17, 62.05)
CIE-LCHlch(78.96, 64.38, 105.47°)
OKLaboklab(81.27% -0.0526 0.1402)
OKLCHoklch(81.27% 0.15 110.6)
XYZxyz(45.8448, 54.8522, 14.3022)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA48 #4B48CA
analogous
#CA8C48 #C7CA48 #86CA48
triadic
#C7CA48 #48C7CA #CA48C7
tetradic
#C7CA48 #48CA8C #4B48CA #CA4886
square
#C7CA48 #48CA8C #4B48CA #CA4886
split-complementary
#C7CA48 #4886CA #8C48CA
monochromatic
#747622 #A2A530 #C7CA48 #D6D877 #E4E5A7

Accessibility & contrast

On white

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

On black

11.97
#C7CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA48
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA48#FFFFFF#000000##000000
##C7CA481.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C136
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#D4BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca48;
/* rgb */ color: rgb(199, 202, 72);
/* oklch */ color: oklch(81.3% 0.150 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd981',
    500: '#c7ca48',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca48;
$custom-light: #dbd981;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca48",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 61.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81267,
    "c": 0.14976,
    "h": 110.6
  },
  "luminance": 0.54851
}

Semantic roles & 50–950 ramp

primary
#C7CA48
secondary
#3A387E
accent
#49DE4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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