#C4CD28#C4CD28

#C4CD28 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.172 H 113.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C4CD28
RGBrgb(196, 205, 40)
HSLhsl(63, 67%, 48%)
HSVhsv(63, 80%, 80%)
CMYKcmyk(4.4%, 0%, 80.5%, 19.6%)
CIE-LABlab(79.36, -21.39, 73.11)
CIE-LCHlch(79.36, 76.17, 106.31°)
OKLaboklab(81.47% -0.067 0.1583)
OKLCHoklch(81.47% 0.172 113)
XYZxyz(44.9808, 55.5527, 10.3603)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD28 #3128CD
analogous
#CD8428 #C4CD28 #71CD28
triadic
#C4CD28 #28C4CD #CD28C4
tetradic
#C4CD28 #28CD84 #3128CD #CD2871
square
#C4CD28 #28CD84 #3128CD #CD2871
split-complementary
#C4CD28 #2871CD #8428CD
monochromatic
#626714 #939A1E #C4CD28 #D6DE54 #E2E888

Accessibility & contrast

On white

1.73
#C4CD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#C4CD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD28
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD28#FFFFFF#000000##000000
##C4CD281.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DDC639
Tritanopia (blue-blind)
#D2C0AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd28;
/* rgb */ color: rgb(196, 205, 40);
/* oklch */ color: oklch(81.5% 0.172 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc72',
    500: '#c4cd28',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd28;
$custom-light: #dadc72;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd28",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 40
  },
  "hsl": {
    "h": 63.273,
    "s": 67.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.81474,
    "c": 0.17191,
    "h": 113
  },
  "luminance": 0.55552
}

Semantic roles & 50–950 ramp

primary
#C4CD28
secondary
#2C2871
accent
#3EEA47
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C4CD28

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

Preview Lab → · Contrast checker → · Palette generator →

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