#C3C428#C3C428

#C3C428 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.4% C 0.163 H 110.0°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#C3C428
RGBrgb(195, 196, 40)
HSLhsl(60, 66%, 46%)
HSVhsv(60, 80%, 77%)
CMYKcmyk(0.5%, 0%, 79.6%, 23.1%)
CIE-LABlab(76.82, -17.36, 70.86)
CIE-LCHlch(76.82, 72.96, 103.77°)
OKLaboklab(79.42% -0.0559 0.1535)
OKLCHoklch(79.42% 0.163 110)
XYZxyz(42.6302, 51.2364, 9.6511)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C428 #2928C4
analogous
#C47728 #C3C428 #75C428
triadic
#C3C428 #28C3C4 #C428C3
tetradic
#C3C428 #28C477 #2928C4 #C42875
square
#C3C428 #28C477 #2928C4 #C42875
split-complementary
#C3C428 #2875C4 #7728C4
monochromatic
#5E5E13 #90911E #C3C428 #DADB4E #E5E581

Accessibility & contrast

On white

1.87
#C3C428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#C3C428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C428
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C428#FFFFFF#000000##000000
##C3C4281.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D6C037
Tritanopia (blue-blind)
#D1B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c3c428;
/* rgb */ color: rgb(195, 196, 40);
/* oklch */ color: oklch(79.4% 0.163 110.0);
Tailwind
colors: {
  custom: {
    50: '#d9d571',
    500: '#c3c428',
    950: '#000000',
  },
}
SCSS
$custom: #c3c428;
$custom-light: #d9d571;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c428",
  "rgb": {
    "r": 195,
    "g": 196,
    "b": 40
  },
  "hsl": {
    "h": 60.385,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79424,
    "c": 0.16336,
    "h": 110
  },
  "luminance": 0.51235
}

Semantic roles & 50–950 ramp

primary
#C3C428
secondary
#272769
accent
#3FE940
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C3C428

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

Preview Lab → · Contrast checker → · Palette generator →

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