#C0CF48#C0CF48

#C0CF48 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.157 H 115.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C0CF48
RGBrgb(192, 207, 72)
HSLhsl(67, 58%, 55%)
HSVhsv(67, 65%, 81%)
CMYKcmyk(7.2%, 0%, 65.2%, 18.8%)
CIE-LABlab(79.78, -22.53, 62.74)
CIE-LCHlch(79.78, 66.67, 109.75°)
OKLaboklab(81.8% -0.0673 0.1418)
OKLCHoklch(81.8% 0.157 115.4)
XYZxyz(45.2218, 56.3007, 14.6145)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF48 #5748CF
analogous
#CF9B48 #C0CF48 #7CCF48
triadic
#C0CF48 #48C0CF #CF48C0
tetradic
#C0CF48 #48CF9B #5748CF #CF487C
square
#C0CF48 #48CF9B #5748CF #CF487C
split-complementary
#C0CF48 #487CCF #9B48CF
monochromatic
#727C21 #9EAD2D #C0CF48 #D1DC78 #E1E8A9

Accessibility & contrast

On white

1.71
#C0CF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#C0CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF48
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF48#FFFFFF#000000##000000
##C0CF481.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC535
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#CCC4B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0cf48;
/* rgb */ color: rgb(192, 207, 72);
/* oklch */ color: oklch(81.8% 0.157 115.4);
Tailwind
colors: {
  custom: {
    50: '#d6dd82',
    500: '#c0cf48',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf48;
$custom-light: #d6dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf48",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 66.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81798,
    "c": 0.15698,
    "h": 115.4
  },
  "luminance": 0.563
}

Semantic roles & 50–950 ramp

primary
#C0CF48
secondary
#403784
accent
#46E257
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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