#C4C848#C4C848

#C4C848 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.6% C 0.148 H 111.0°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#C4C848
RGBrgb(196, 200, 72)
HSLhsl(62, 54%, 53%)
HSVhsv(62, 64%, 78%)
CMYKcmyk(2%, 0%, 64%, 21.6%)
CIE-LABlab(78.18, -17.42, 61.17)
CIE-LCHlch(78.18, 63.60, 105.90°)
OKLaboklab(80.59% -0.0532 0.1384)
OKLCHoklch(80.59% 0.148 111)
XYZxyz(44.5903, 53.5133, 14.1098)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C848 #4C48C8
analogous
#C88C48 #C4C848 #84C848
triadic
#C4C848 #48C4C8 #C848C4
tetradic
#C4C848 #48C88C #4C48C8 #C84884
square
#C4C848 #48C88C #4C48C8 #C84884
split-complementary
#C4C848 #4884C8 #8C48C8
monochromatic
#717323 #9FA231 #C4C848 #D3D677 #E2E4A6

Accessibility & contrast

On white

1.79
#C4C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#C4C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C848
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C848#FFFFFF#000000##000000
##C4C8481.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF37
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#D1BCAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c848;
/* rgb */ color: rgb(196, 200, 72);
/* oklch */ color: oklch(80.6% 0.148 111.0);
Tailwind
colors: {
  custom: {
    50: '#d9d881',
    500: '#c4c848',
    950: '#000000',
  },
}
SCSS
$custom: #c4c848;
$custom-light: #d9d881;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c848",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 61.875,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80587,
    "c": 0.14827,
    "h": 111
  },
  "luminance": 0.53512
}

Semantic roles & 50–950 ramp

primary
#C4C848
secondary
#3A387C
accent
#4BDD4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4C848

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

Preview Lab → · Contrast checker → · Palette generator →

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