#C0CF54#C0CF54

#C0CF54 is a light, vivid yellow. Relative luminance 0.565; OKLCH L 81.9% C 0.148 H 115.6°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#C0CF54
RGBrgb(192, 207, 84)
HSLhsl(67, 56%, 57%)
HSVhsv(67, 59%, 81%)
CMYKcmyk(7.2%, 0%, 59.4%, 18.8%)
CIE-LABlab(79.88, -21.71, 57.87)
CIE-LCHlch(79.88, 61.81, 110.57°)
OKLaboklab(81.91% -0.0638 0.1332)
OKLCHoklch(81.91% 0.148 115.6)
XYZxyz(45.6522, 56.4728, 16.8812)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF54 #6354CF
analogous
#CFA154 #C0CF54 #83CF54
triadic
#C0CF54 #54C0CF #CF54C0
tetradic
#C0CF54 #54CFA1 #6354CF #CF5483
square
#C0CF54 #54CFA1 #6354CF #CF5483
split-complementary
#C0CF54 #5483CF #A154CF
monochromatic
#788425 #A4B332 #C0CF54 #D2DC84 #E3EAB4

Accessibility & contrast

On white

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

On black

12.29
#C0CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF54
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF54#FFFFFF#000000##000000
##C0CF541.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#CBC4B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0cf54;
/* rgb */ color: rgb(192, 207, 84);
/* oklch */ color: oklch(81.9% 0.148 115.6);
Tailwind
colors: {
  custom: {
    50: '#d6dd89',
    500: '#c0cf54',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf54;
$custom-light: #d6dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf54",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 67.317,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81908,
    "c": 0.14766,
    "h": 115.6
  },
  "luminance": 0.56472
}

Semantic roles & 50–950 ramp

primary
#C0CF54
secondary
#463C8B
accent
#48DF5B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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