#C4C050#C4C050

#C4C050 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.9% C 0.134 H 107.2°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C4C050
RGBrgb(196, 192, 80)
HSLhsl(58, 50%, 54%)
HSVhsv(58, 59%, 77%)
CMYKcmyk(0%, 2%, 59.2%, 23.1%)
CIE-LABlab(76.08, -12.86, 55.52)
CIE-LCHlch(76.08, 56.99, 103.04°)
OKLaboklab(78.93% -0.0394 0.1276)
OKLCHoklch(78.93% 0.134 107.2)
XYZxyz(43.0639, 50.0155, 14.9734)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C050 #5054C4
analogous
#C48650 #C4C050 #8EC450
triadic
#C4C050 #50C4C0 #C050C4
tetradic
#C4C050 #50C486 #5054C4 #C4508E
square
#C4C050 #50C486 #5054C4 #C4508E
split-complementary
#C4C050 #508EC4 #8650C4
monochromatic
#737027 #A19D36 #C4C050 #D3D07E #E3E1AC

Accessibility & contrast

On white

1.91
#C4C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#C4C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C050
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C050#FFFFFF#000000##000000
##C4C0501.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB943
Deuteranopia (green-blind)
#D1BE56
Tritanopia (blue-blind)
#D1B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c050;
/* rgb */ color: rgb(196, 192, 80);
/* oklch */ color: oklch(78.9% 0.134 107.2);
Tailwind
colors: {
  custom: {
    50: '#d8d285',
    500: '#c4c050',
    950: '#000000',
  },
}
SCSS
$custom: #c4c050;
$custom-light: #d8d285;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c050",
  "rgb": {
    "r": 196,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 57.931,
    "s": 49.573,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78934,
    "c": 0.13355,
    "h": 107.2
  },
  "luminance": 0.50014
}

Semantic roles & 50–950 ramp

primary
#C4C050
secondary
#3C3E7C
accent
#53D94F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4C050

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

Preview Lab → · Contrast checker → · Palette generator →

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