#C8CA48#C8CA48

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

Color values

HEX#C8CA48
RGBrgb(200, 202, 72)
HSLhsl(61, 55%, 54%)
HSVhsv(61, 64%, 79%)
CMYKcmyk(1%, 0%, 64.4%, 20.8%)
CIE-LABlab(79.04, -16.76, 62.16)
CIE-LCHlch(79.04, 64.38, 105.09°)
OKLaboklab(81.35% -0.0515 0.1404)
OKLCHoklch(81.35% 0.15 110.2)
XYZxyz(46.1111, 54.9895, 14.3147)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA48 #4A48CA
analogous
#CA8B48 #C8CA48 #87CA48
triadic
#C8CA48 #48C8CA #CA48C8
tetradic
#C8CA48 #48CA8B #4A48CA #CA4887
square
#C8CA48 #48CA8B #4A48CA #CA4887
split-complementary
#C8CA48 #4887CA #8B48CA
monochromatic
#747622 #A3A530 #C8CA48 #D6D877 #E5E5A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CA48#FFFFFF#000000##000000
##C8CA481.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)
#D9C236
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#D5BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca48;
/* rgb */ color: rgb(200, 202, 72);
/* oklch */ color: oklch(81.3% 0.150 110.2);
Tailwind
colors: {
  custom: {
    50: '#dcd982',
    500: '#c8ca48',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca48;
$custom-light: #dcd982;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca48",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 60.923,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8135,
    "c": 0.14956,
    "h": 110.2
  },
  "luminance": 0.54988
}

Semantic roles & 50–950 ramp

primary
#C8CA48
secondary
#39387E
accent
#49DE4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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