#C3CD28#C3CD28

#C3CD28 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.4% C 0.172 H 113.3°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C3CD28
RGBrgb(195, 205, 40)
HSLhsl(64, 67%, 48%)
HSVhsv(64, 80%, 80%)
CMYKcmyk(4.9%, 0%, 80.5%, 19.6%)
CIE-LABlab(79.28, -21.81, 73.01)
CIE-LCHlch(79.28, 76.20, 106.63°)
OKLaboklab(81.39% -0.0682 0.1581)
OKLCHoklch(81.39% 0.172 113.3)
XYZxyz(44.7215, 55.4190, 10.3482)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CD28 #3228CD
analogous
#CD8428 #C3CD28 #71CD28
triadic
#C3CD28 #28C3CD #CD28C3
tetradic
#C3CD28 #28CD84 #3228CD #CD2871
square
#C3CD28 #28CD84 #3228CD #CD2871
split-complementary
#C3CD28 #2871CD #8428CD
monochromatic
#626714 #929A1E #C3CD28 #D5DE54 #E2E888

Accessibility & contrast

On white

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

On black

12.08
#C3CD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CD28
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CD28#FFFFFF#000000##000000
##C3CD281.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3cd28;
/* rgb */ color: rgb(195, 205, 40);
/* oklch */ color: oklch(81.4% 0.172 113.3);
Tailwind
colors: {
  custom: {
    50: '#d9dc72',
    500: '#c3cd28',
    950: '#000000',
  },
}
SCSS
$custom: #c3cd28;
$custom-light: #d9dc72;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cd28",
  "rgb": {
    "r": 195,
    "g": 205,
    "b": 40
  },
  "hsl": {
    "h": 63.636,
    "s": 67.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.81394,
    "c": 0.17219,
    "h": 113.3
  },
  "luminance": 0.55418
}

Semantic roles & 50–950 ramp

primary
#C3CD28
secondary
#2D2871
accent
#3EEA48
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C3CD28

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

Preview Lab → · Contrast checker → · Palette generator →

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