#C4C930#C4C930

#C4C930 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.74:1 contrast (WCAG AA passes).

Color values

HEX#C4C930
RGBrgb(196, 201, 48)
HSLhsl(62, 61%, 49%)
HSVhsv(62, 76%, 79%)
CMYKcmyk(2.5%, 0%, 76.1%, 21.2%)
CIE-LABlab(78.30, -19.13, 69.90)
CIE-LCHlch(78.30, 72.47, 105.31°)
OKLaboklab(80.64% -0.0602 0.1528)
OKLCHoklch(80.64% 0.164 111.5)
XYZxyz(44.1866, 53.7236, 10.8378)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C930 #3530C9
analogous
#C98230 #C4C930 #78C930
triadic
#C4C930 #30C4C9 #C930C4
tetradic
#C4C930 #30C982 #3530C9 #C93078
square
#C4C930 #30C982 #3530C9 #C93078
split-complementary
#C4C930 #3078C9 #8230C9
monochromatic
#646618 #949824 #C4C930 #D4D85E #E1E48F

Accessibility & contrast

On white

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

On black

11.74
#C4C930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C930
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C930#FFFFFF#000000##000000
##C4C9301.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c930;
/* rgb */ color: rgb(196, 201, 48);
/* oklch */ color: oklch(80.6% 0.164 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad975',
    500: '#c4c930',
    950: '#000000',
  },
}
SCSS
$custom: #c4c930;
$custom-light: #dad975;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c930",
  "rgb": {
    "r": 196,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 61.961,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80638,
    "c": 0.16426,
    "h": 111.5
  },
  "luminance": 0.53722
}

Semantic roles & 50–950 ramp

primary
#C4C930
secondary
#2F2D70
accent
#43E549
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C930

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

Preview Lab → · Contrast checker → · Palette generator →

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