#C3C438#C3C438

#C3C438 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.5% C 0.155 H 109.9°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C3C438
RGBrgb(195, 196, 56)
HSLhsl(60, 56%, 49%)
HSVhsv(60, 71%, 77%)
CMYKcmyk(0.5%, 0%, 71.4%, 23.1%)
CIE-LABlab(76.90, -16.72, 65.93)
CIE-LCHlch(76.90, 68.02, 104.23°)
OKLaboklab(79.51% -0.0527 0.1459)
OKLCHoklch(79.51% 0.155 109.9)
XYZxyz(42.9609, 51.3687, 11.3927)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C438 #3938C4
analogous
#C47F38 #C3C438 #7DC438
triadic
#C3C438 #38C3C4 #C438C3
tetradic
#C3C438 #38C47F #3938C4 #C4387D
square
#C3C438 #38C47F #3938C4 #C4387D
split-complementary
#C3C438 #387DC4 #7F38C4
monochromatic
#64651D #94942A #C3C438 #D2D366 #E0E196

Accessibility & contrast

On white

1.86
#C3C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C3C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C438
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C438#FFFFFF#000000##000000
##C3C4381.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1E
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#D1B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c3c438;
/* rgb */ color: rgb(195, 196, 56);
/* oklch */ color: oklch(79.5% 0.155 109.9);
Tailwind
colors: {
  custom: {
    50: '#d9d578',
    500: '#c3c438',
    950: '#000000',
  },
}
SCSS
$custom: #c3c438;
$custom-light: #d9d578;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c438",
  "rgb": {
    "r": 195,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 60.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79514,
    "c": 0.15511,
    "h": 109.9
  },
  "luminance": 0.51367
}

Semantic roles & 50–950 ramp

primary
#C3C438
secondary
#31316F
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C438

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

Preview Lab → · Contrast checker → · Palette generator →

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