#C4C03F#C4C03F

#C4C03F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.8% C 0.147 H 107.6°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#C4C03F
RGBrgb(196, 192, 63)
HSLhsl(58, 53%, 51%)
HSVhsv(58, 68%, 77%)
CMYKcmyk(0%, 2%, 67.9%, 23.1%)
CIE-LABlab(75.94, -13.92, 62.44)
CIE-LCHlch(75.94, 63.97, 102.57°)
OKLaboklab(78.78% -0.0443 0.1397)
OKLCHoklch(78.78% 0.147 107.6)
XYZxyz(42.5133, 49.7953, 12.0737)
Luminance0.4979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C03F #3F43C4
analogous
#C47D3F #C4C03F #86C43F
triadic
#C4C03F #3FC4C0 #C03FC4
tetradic
#C4C03F #3FC47D #3F43C4 #C43F86
square
#C4C03F #3FC47D #3F43C4 #C43F86
split-complementary
#C4C03F #3F86C4 #7D3FC4
monochromatic
#686620 #97942E #C4C03F #D2CF6E #E1DF9D

Accessibility & contrast

On white

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

On black

10.96
#C4C03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C03F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C03F#FFFFFF#000000##000000
##C4C03F1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#D2B4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c4c03f;
/* rgb */ color: rgb(196, 192, 63);
/* oklch */ color: oklch(78.8% 0.147 107.6);
Tailwind
colors: {
  custom: {
    50: '#d9d27c',
    500: '#c4c03f',
    950: '#000000',
  },
}
SCSS
$custom: #c4c03f;
$custom-light: #d9d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c03f",
  "rgb": {
    "r": 196,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 58.195,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78783,
    "c": 0.14652,
    "h": 107.6
  },
  "luminance": 0.49794
}

Semantic roles & 50–950 ramp

primary
#C4C03F
secondary
#9294CD
accent
#50DC4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C4C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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