#C0CB48#C0CB48

#C0CB48 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.9% C 0.152 H 113.9°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C0CB48
RGBrgb(192, 203, 72)
HSLhsl(65, 56%, 54%)
HSVhsv(65, 65%, 80%)
CMYKcmyk(5.4%, 0%, 64.5%, 20.4%)
CIE-LABlab(78.69, -20.57, 61.60)
CIE-LCHlch(78.69, 64.95, 108.46°)
OKLaboklab(80.92% -0.0618 0.1394)
OKLCHoklch(80.92% 0.153 113.9)
XYZxyz(44.2650, 54.3870, 14.2956)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB48 #5348CB
analogous
#CB9548 #C0CB48 #7FCB48
triadic
#C0CB48 #48C0CB #CB48C0
tetradic
#C0CB48 #48CB95 #5348CB #CB487F
square
#C0CB48 #48CB95 #5348CB #CB487F
split-complementary
#C0CB48 #487FCB #9548CB
monochromatic
#707722 #9CA62F #C0CB48 #D0D978 #E1E6A7

Accessibility & contrast

On white

1.77
#C0CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#C0CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB48
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB48#FFFFFF#000000##000000
##C0CB481.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cb48;
/* rgb */ color: rgb(192, 203, 72);
/* oklch */ color: oklch(80.9% 0.152 113.9);
Tailwind
colors: {
  custom: {
    50: '#d6da81',
    500: '#c0cb48',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb48;
$custom-light: #d6da81;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb48",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 65.038,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80918,
    "c": 0.1525,
    "h": 113.9
  },
  "luminance": 0.54386
}

Semantic roles & 50–950 ramp

primary
#C0CB48
secondary
#3E387F
accent
#49DF55
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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