#C4C031#C4C031

#C4C031 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.7% C 0.155 H 107.8°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C4C031
RGBrgb(196, 192, 49)
HSLhsl(58, 60%, 48%)
HSVhsv(58, 75%, 77%)
CMYKcmyk(0%, 2%, 75%, 23.1%)
CIE-LABlab(75.86, -14.59, 67.34)
CIE-LCHlch(75.86, 68.90, 102.23°)
OKLaboklab(78.69% -0.0475 0.1476)
OKLCHoklch(78.69% 0.155 107.8)
XYZxyz(42.1706, 49.6582, 10.2688)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C031 #3135C4
analogous
#C47631 #C4C031 #7FC431
triadic
#C4C031 #31C4C0 #C031C4
tetradic
#C4C031 #31C476 #3135C4 #C4317F
square
#C4C031 #31C476 #3135C4 #C4317F
split-complementary
#C4C031 #317FC4 #7631C4
monochromatic
#626019 #939025 #C4C031 #D6D35C #E2E08D

Accessibility & contrast

On white

1.92
#C4C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#C4C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C031
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C031#FFFFFF#000000##000000
##C4C0311.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80F
Deuteranopia (green-blind)
#D3BD3C
Tritanopia (blue-blind)
#D2B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c4c031;
/* rgb */ color: rgb(196, 192, 49);
/* oklch */ color: oklch(78.7% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#dad274',
    500: '#c4c031',
    950: '#000000',
  },
}
SCSS
$custom: #c4c031;
$custom-light: #dad274;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c031",
  "rgb": {
    "r": 196,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 58.367,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78688,
    "c": 0.15502,
    "h": 107.8
  },
  "luminance": 0.49657
}

Semantic roles & 50–950 ramp

primary
#C4C031
secondary
#8486CD
accent
#49E345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C4C031

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

Preview Lab → · Contrast checker → · Palette generator →

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