#C2CC38#C2CC38

#C2CC38 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.2% C 0.164 H 113.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#C2CC38
RGBrgb(194, 204, 56)
HSLhsl(64, 59%, 51%)
HSVhsv(64, 73%, 80%)
CMYKcmyk(4.9%, 0%, 72.5%, 20%)
CIE-LABlab(79.01, -21.10, 67.92)
CIE-LCHlch(79.01, 71.12, 107.26°)
OKLaboklab(81.18% -0.0649 0.1501)
OKLCHoklch(81.18% 0.164 113.4)
XYZxyz(44.5562, 54.9415, 11.9983)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC38 #4238CC
analogous
#CC8C38 #C2CC38 #78CC38
triadic
#C2CC38 #38C2CC #CC38C2
tetradic
#C2CC38 #38CC8C #4238CC #CC3878
square
#C2CC38 #38CC8C #4238CC #CC3878
split-complementary
#C2CC38 #3878CC #8C38CC
monochromatic
#686E1C #969E29 #C2CC38 #D1D869 #E0E599

Accessibility & contrast

On white

1.75
#C2CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#C2CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC38
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC38#FFFFFF#000000##000000
##C2CC381.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#CFC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc38;
/* rgb */ color: rgb(194, 204, 56);
/* oklch */ color: oklch(81.2% 0.164 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db79',
    500: '#c2cc38',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc38;
$custom-light: #d8db79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc38",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 64.054,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81179,
    "c": 0.16354,
    "h": 113.4
  },
  "luminance": 0.54941
}

Semantic roles & 50–950 ramp

primary
#C2CC38
secondary
#363177
accent
#45E250
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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