#C0CF38#C0CF38

#C0CF38 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.7% C 0.167 H 115.2°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#C0CF38
RGBrgb(192, 207, 56)
HSLhsl(66, 61%, 52%)
HSVhsv(66, 73%, 81%)
CMYKcmyk(7.2%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.68, -23.40, 68.51)
CIE-LCHlch(79.68, 72.40, 108.86°)
OKLaboklab(81.68% -0.0712 0.1514)
OKLCHoklch(81.68% 0.167 115.2)
XYZxyz(44.7661, 56.1184, 12.2143)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF38 #4738CF
analogous
#CF9338 #C0CF38 #75CF38
triadic
#C0CF38 #38C0CF #CF38C0
tetradic
#C0CF38 #38CF93 #4738CF #CF3875
square
#C0CF38 #38CF93 #4738CF #CF3875
split-complementary
#C0CF38 #3875CF #9338CF
monochromatic
#69711B #96A327 #C0CF38 #D0DB69 #DFE79B

Accessibility & contrast

On white

1.72
#C0CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#C0CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF38
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF38#FFFFFF#000000##000000
##C0CF381.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC419
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#CCC3B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c0cf38;
/* rgb */ color: rgb(192, 207, 56);
/* oklch */ color: oklch(81.7% 0.167 115.2);
Tailwind
colors: {
  custom: {
    50: '#d7dd79',
    500: '#c0cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf38;
$custom-light: #d7dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf38",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 65.96,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81682,
    "c": 0.16731,
    "h": 115.2
  },
  "luminance": 0.56118
}

Semantic roles & 50–950 ramp

primary
#C0CF38
secondary
#38317A
accent
#44E454
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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