#C4C438#C4C438

#C4C438 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.6% C 0.155 H 109.5°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#C4C438
RGBrgb(196, 196, 56)
HSLhsl(60, 56%, 49%)
HSVhsv(60, 71%, 77%)
CMYKcmyk(0%, 0%, 71.4%, 23.1%)
CIE-LABlab(76.98, -16.30, 66.04)
CIE-LCHlch(76.98, 68.02, 103.86°)
OKLaboklab(79.6% -0.0516 0.1461)
OKLCHoklch(79.6% 0.155 109.5)
XYZxyz(43.2202, 51.5024, 11.4049)
Luminance0.5150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C438 #3838C4
analogous
#C47E38 #C4C438 #7EC438
triadic
#C4C438 #38C4C4 #C438C4
tetradic
#C4C438 #38C47E #3838C4 #C4387E
square
#C4C438 #38C47E #3838C4 #C4387E
split-complementary
#C4C438 #387EC4 #7E38C4
monochromatic
#65651D #94942A #C4C438 #D3D366 #E1E196

Accessibility & contrast

On white

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

On black

11.30
#C4C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C438
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C438#FFFFFF#000000##000000
##C4C4381.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c438;
/* rgb */ color: rgb(196, 196, 56);
/* oklch */ color: oklch(79.6% 0.155 109.5);
Tailwind
colors: {
  custom: {
    50: '#d9d578',
    500: '#c4c438',
    950: '#000000',
  },
}
SCSS
$custom: #c4c438;
$custom-light: #d9d578;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c438",
  "rgb": {
    "r": 196,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79598,
    "c": 0.15491,
    "h": 109.5
  },
  "luminance": 0.51501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4C438

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

Preview Lab → · Contrast checker → · Palette generator →

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