#C2CF48#C2CF48

#C2CF48 is a light, vivid yellow. Relative luminance 0.566; OKLCH L 82.0% C 0.156 H 114.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#C2CF48
RGBrgb(194, 207, 72)
HSLhsl(66, 58%, 55%)
HSVhsv(66, 65%, 81%)
CMYKcmyk(6.3%, 0%, 65.2%, 18.8%)
CIE-LABlab(79.93, -21.71, 62.95)
CIE-LCHlch(79.93, 66.58, 109.03°)
OKLaboklab(81.95% -0.0651 0.1422)
OKLCHoklch(81.95% 0.156 114.6)
XYZxyz(45.7318, 56.5636, 14.6384)
Luminance0.5656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF48 #5548CF
analogous
#CF9948 #C2CF48 #7ECF48
triadic
#C2CF48 #48C2CF #CF48C2
tetradic
#C2CF48 #48CF99 #5548CF #CF487E
square
#C2CF48 #48CF99 #5548CF #CF487E
split-complementary
#C2CF48 #487ECF #9948CF
monochromatic
#737C21 #A0AD2D #C2CF48 #D2DC78 #E2E8A9

Accessibility & contrast

On white

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

On black

12.31
#C2CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF48
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF48#FFFFFF#000000##000000
##C2CF481.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cf48;
/* rgb */ color: rgb(194, 207, 72);
/* oklch */ color: oklch(82.0% 0.156 114.6);
Tailwind
colors: {
  custom: {
    50: '#d7dd82',
    500: '#c2cf48',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf48;
$custom-light: #d7dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf48",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 65.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81954,
    "c": 0.15639,
    "h": 114.6
  },
  "luminance": 0.56563
}

Semantic roles & 50–950 ramp

primary
#C2CF48
secondary
#3F3784
accent
#46E255
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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