#C4C638#C4C638

#C4C638 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.0% C 0.157 H 110.3°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#C4C638
RGBrgb(196, 198, 56)
HSLhsl(61, 56%, 50%)
HSVhsv(61, 72%, 78%)
CMYKcmyk(1%, 0%, 71.7%, 22.4%)
CIE-LABlab(77.53, -17.30, 66.56)
CIE-LCHlch(77.53, 68.77, 104.57°)
OKLaboklab(80.03% -0.0544 0.1472)
OKLCHoklch(80.03% 0.157 110.3)
XYZxyz(43.6744, 52.4107, 11.5563)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C638 #3A38C6
analogous
#C68138 #C4C638 #7DC638
triadic
#C4C638 #38C4C6 #C638C4
tetradic
#C4C638 #38C681 #3A38C6 #C6387D
square
#C4C638 #38C681 #3A38C6 #C6387D
split-complementary
#C4C638 #387DC6 #8138C6
monochromatic
#66671D #95962B #C4C638 #D3D467 #E0E297

Accessibility & contrast

On white

1.83
#C4C638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#C4C638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C638
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C638#FFFFFF#000000##000000
##C4C6381.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1D
Deuteranopia (green-blind)
#D7C143
Tritanopia (blue-blind)
#D2BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c4c638;
/* rgb */ color: rgb(196, 198, 56);
/* oklch */ color: oklch(80.0% 0.157 110.3);
Tailwind
colors: {
  custom: {
    50: '#d9d778',
    500: '#c4c638',
    950: '#000000',
  },
}
SCSS
$custom: #c4c638;
$custom-light: #d9d778;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c638",
  "rgb": {
    "r": 196,
    "g": 198,
    "b": 56
  },
  "hsl": {
    "h": 60.845,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80032,
    "c": 0.1569,
    "h": 110.3
  },
  "luminance": 0.52409
}

Semantic roles & 50–950 ramp

primary
#C4C638
secondary
#323171
accent
#49DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C638

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

Preview Lab → · Contrast checker → · Palette generator →

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