#C4CC38#C4CC38

#C4CC38 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.3% C 0.163 H 112.6°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#C4CC38
RGBrgb(196, 204, 56)
HSLhsl(63, 59%, 51%)
HSVhsv(63, 73%, 80%)
CMYKcmyk(3.9%, 0%, 72.5%, 20%)
CIE-LABlab(79.16, -20.27, 68.12)
CIE-LCHlch(79.16, 71.07, 106.57°)
OKLaboklab(81.34% -0.0627 0.1505)
OKLCHoklch(81.34% 0.163 112.6)
XYZxyz(45.0730, 55.2081, 12.0225)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC38 #4038CC
analogous
#CC8A38 #C4CC38 #7ACC38
triadic
#C4CC38 #38C4CC #CC38C4
tetradic
#C4CC38 #38CC8A #4038CC #CC387A
square
#C4CC38 #38CC8A #4038CC #CC387A
split-complementary
#C4CC38 #387ACC #8A38CC
monochromatic
#696E1C #989E29 #C4CC38 #D2D869 #E1E599

Accessibility & contrast

On white

1.74
#C4CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#C4CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC38
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC38#FFFFFF#000000##000000
##C4CC381.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4cc38;
/* rgb */ color: rgb(196, 204, 56);
/* oklch */ color: oklch(81.3% 0.163 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db79',
    500: '#c4cc38',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc38;
$custom-light: #d9db79;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc38",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 63.243,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.8134,
    "c": 0.16301,
    "h": 112.6
  },
  "luminance": 0.55207
}

Semantic roles & 50–950 ramp

primary
#C4CC38
secondary
#353177
accent
#45E24E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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