#C4C918#C4C918

#C4C918 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.5% C 0.173 H 111.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#C4C918
RGBrgb(196, 201, 24)
HSLhsl(62, 79%, 44%)
HSVhsv(62, 88%, 79%)
CMYKcmyk(2.5%, 0%, 88.1%, 21.2%)
CIE-LABlab(78.21, -19.84, 75.65)
CIE-LCHlch(78.21, 78.21, 104.69°)
OKLaboklab(80.54% -0.0637 0.1613)
OKLCHoklch(80.54% 0.173 111.6)
XYZxyz(43.8181, 53.5762, 8.8970)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C918 #1D18C9
analogous
#C97618 #C4C918 #6CC918
triadic
#C4C918 #18C4C9 #C918C4
tetradic
#C4C918 #18C976 #1D18C9 #C9186C
square
#C4C918 #18C976 #1D18C9 #C9186C
split-complementary
#C4C918 #186CC9 #7618C9
monochromatic
#595C0B #8F9211 #C4C918 #E2E737 #EAEE6E

Accessibility & contrast

On white

1.79
#C4C918 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#C4C918 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C918
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C918#FFFFFF#000000##000000
##C4C9181.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#DAC32E
Tritanopia (blue-blind)
#D2BCAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c918;
/* rgb */ color: rgb(196, 201, 24);
/* oklch */ color: oklch(80.5% 0.173 111.6);
Tailwind
colors: {
  custom: {
    50: '#dad96c',
    500: '#c4c918',
    950: '#000000',
  },
}
SCSS
$custom: #c4c918;
$custom-light: #dad96c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c918",
  "rgb": {
    "r": 196,
    "g": 201,
    "b": 24
  },
  "hsl": {
    "h": 61.695,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.80541,
    "c": 0.17342,
    "h": 111.6
  },
  "luminance": 0.53575
}

Semantic roles & 50–950 ramp

primary
#C4C918
secondary
#201E67
accent
#33F538
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C4C918

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

Preview Lab → · Contrast checker → · Palette generator →

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