#C8CB48#C8CB48

#C8CB48 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.151 H 110.6°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#C8CB48
RGBrgb(200, 203, 72)
HSLhsl(61, 56%, 54%)
HSVhsv(61, 65%, 80%)
CMYKcmyk(1.5%, 0%, 64.5%, 20.4%)
CIE-LABlab(79.31, -17.25, 62.44)
CIE-LCHlch(79.31, 64.78, 105.45°)
OKLaboklab(81.57% -0.0529 0.141)
OKLCHoklch(81.57% 0.151 110.6)
XYZxyz(46.3465, 55.4603, 14.3931)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB48 #4B48CB
analogous
#CB8D48 #C8CB48 #87CB48
triadic
#C8CB48 #48C8CB #CB48C8
tetradic
#C8CB48 #48CB8D #4B48CB #CB4887
square
#C8CB48 #48CB8D #4B48CB #CB4887
split-complementary
#C8CB48 #4887CB #8D48CB
monochromatic
#757722 #A4A62F #C8CB48 #D6D978 #E5E6A7

Accessibility & contrast

On white

1.74
#C8CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#C8CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB48
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB48#FFFFFF#000000##000000
##C8CB481.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#D5BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8cb48;
/* rgb */ color: rgb(200, 203, 72);
/* oklch */ color: oklch(81.6% 0.151 110.6);
Tailwind
colors: {
  custom: {
    50: '#dcda82',
    500: '#c8cb48',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb48;
$custom-light: #dcda82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb48",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 61.374,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81566,
    "c": 0.1506,
    "h": 110.6
  },
  "luminance": 0.55459
}

Semantic roles & 50–950 ramp

primary
#C8CB48
secondary
#39387F
accent
#49DF4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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