#C7C03C#C7C03C

#C7C03C is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.0% C 0.148 H 106.3°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#C7C03C
RGBrgb(199, 192, 60)
HSLhsl(57, 55%, 51%)
HSVhsv(57, 70%, 78%)
CMYKcmyk(0%, 3.5%, 69.8%, 22%)
CIE-LABlab(76.17, -12.81, 63.89)
CIE-LCHlch(76.17, 65.16, 101.34°)
OKLaboklab(79.02% -0.0416 0.1421)
OKLCHoklch(79.02% 0.148 106.3)
XYZxyz(43.2201, 50.1692, 11.6811)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C03C #3C43C7
analogous
#C77A3C #C7C03C #89C73C
triadic
#C7C03C #3CC7C0 #C03CC7
tetradic
#C7C03C #3CC77A #3C43C7 #C73C89
square
#C7C03C #3CC77A #3C43C7 #C73C89
split-complementary
#C7C03C #3C89C7 #7A3CC7
monochromatic
#6A661E #9A942C #C7C03C #D5CF6C #E2DF9B

Accessibility & contrast

On white

1.90
#C7C03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#C7C03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C03C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C03C#FFFFFF#000000##000000
##C7C03C1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B927
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#D5B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c03c;
/* rgb */ color: rgb(199, 192, 60);
/* oklch */ color: oklch(79.0% 0.148 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcd27a',
    500: '#c7c03c',
    950: '#000000',
  },
}
SCSS
$custom: #c7c03c;
$custom-light: #dcd27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c03c",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 56.978,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7902,
    "c": 0.14808,
    "h": 106.3
  },
  "luminance": 0.50168
}

Semantic roles & 50–950 ramp

primary
#C7C03C
secondary
#333674
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C03C

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

Preview Lab → · Contrast checker → · Palette generator →

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