#C4C151#C4C151

#C4C151 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.134 H 107.7°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C4C151
RGBrgb(196, 193, 81)
HSLhsl(58, 49%, 54%)
HSVhsv(58, 59%, 77%)
CMYKcmyk(0%, 1.5%, 58.7%, 23.1%)
CIE-LABlab(76.36, -13.30, 55.39)
CIE-LCHlch(76.36, 56.96, 103.50°)
OKLaboklab(79.16% -0.0406 0.1274)
OKLCHoklch(79.16% 0.134 107.7)
XYZxyz(43.3214, 50.4710, 15.2428)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C151 #5154C4
analogous
#C48851 #C4C151 #8EC451
triadic
#C4C151 #51C4C1 #C151C4
tetradic
#C4C151 #51C488 #5154C4 #C4518E
square
#C4C151 #51C488 #5154C4 #C4518E
split-complementary
#C4C151 #518EC4 #8851C4
monochromatic
#737127 #A19E37 #C4C151 #D3D17F #E3E2AC

Accessibility & contrast

On white

1.89
#C4C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#C4C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C151
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C151#FFFFFF#000000##000000
##C4C1511.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA45
Deuteranopia (green-blind)
#D2BE57
Tritanopia (blue-blind)
#D1B6A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c151;
/* rgb */ color: rgb(196, 193, 81);
/* oklch */ color: oklch(79.2% 0.134 107.7);
Tailwind
colors: {
  custom: {
    50: '#d8d386',
    500: '#c4c151',
    950: '#000000',
  },
}
SCSS
$custom: #c4c151;
$custom-light: #d8d386;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c151",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 58.435,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79159,
    "c": 0.13373,
    "h": 107.7
  },
  "luminance": 0.5047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4C151

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

Preview Lab → · Contrast checker → · Palette generator →

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