#C4C931#C4C931

#C4C931 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.6% C 0.164 H 111.5°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#C4C931
RGBrgb(196, 201, 49)
HSLhsl(62, 61%, 49%)
HSVhsv(62, 76%, 79%)
CMYKcmyk(2.5%, 0%, 75.6%, 21.2%)
CIE-LABlab(78.31, -19.09, 69.59)
CIE-LCHlch(78.31, 72.17, 105.34°)
OKLaboklab(80.64% -0.06 0.1524)
OKLCHoklch(80.64% 0.164 111.5)
XYZxyz(44.2075, 53.7320, 10.9477)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C931 #3631C9
analogous
#C98231 #C4C931 #78C931
triadic
#C4C931 #31C4C9 #C931C4
tetradic
#C4C931 #31C982 #3631C9 #C93178
square
#C4C931 #31C982 #3631C9 #C93178
split-complementary
#C4C931 #3178C9 #8231C9
monochromatic
#646719 #949825 #C4C931 #D4D85F #E1E490

Accessibility & contrast

On white

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

On black

11.75
#C4C931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C931
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C931#FFFFFF#000000##000000
##C4C9311.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C007
Deuteranopia (green-blind)
#DAC33E
Tritanopia (blue-blind)
#D2BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c4c931;
/* rgb */ color: rgb(196, 201, 49);
/* oklch */ color: oklch(80.6% 0.164 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad975',
    500: '#c4c931',
    950: '#000000',
  },
}
SCSS
$custom: #c4c931;
$custom-light: #dad975;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c931",
  "rgb": {
    "r": 196,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 61.974,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80643,
    "c": 0.16375,
    "h": 111.5
  },
  "luminance": 0.53731
}

Semantic roles & 50–950 ramp

primary
#C4C931
secondary
#302D71
accent
#44E449
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C931

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

Preview Lab → · Contrast checker → · Palette generator →

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