#C2CF38#C2CF38

#C2CF38 is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.8% C 0.167 H 114.4°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#C2CF38
RGBrgb(194, 207, 56)
HSLhsl(65, 61%, 52%)
HSVhsv(65, 73%, 81%)
CMYKcmyk(6.3%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.83, -22.57, 68.71)
CIE-LCHlch(79.83, 72.32, 108.18°)
OKLaboklab(81.84% -0.069 0.1518)
OKLCHoklch(81.84% 0.167 114.4)
XYZxyz(45.2761, 56.3814, 12.2382)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF38 #4538CF
analogous
#CF9138 #C2CF38 #76CF38
triadic
#C2CF38 #38C2CF #CF38C2
tetradic
#C2CF38 #38CF91 #4538CF #CF3876
square
#C2CF38 #38CF91 #4538CF #CF3876
split-complementary
#C2CF38 #3876CF #9138CF
monochromatic
#6A711B #98A327 #C2CF38 #D1DB69 #E0E79B

Accessibility & contrast

On white

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

On black

12.28
#C2CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF38
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF38#FFFFFF#000000##000000
##C2CF381.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC519
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf38;
/* rgb */ color: rgb(194, 207, 56);
/* oklch */ color: oklch(81.8% 0.167 114.4);
Tailwind
colors: {
  custom: {
    50: '#d8dd79',
    500: '#c2cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf38;
$custom-light: #d8dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf38",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 65.166,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81839,
    "c": 0.16671,
    "h": 114.4
  },
  "luminance": 0.56381
}

Semantic roles & 50–950 ramp

primary
#C2CF38
secondary
#37317A
accent
#44E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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