#C7C03D#C7C03D

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

Color values

HEX#C7C03D
RGBrgb(199, 192, 61)
HSLhsl(57, 55%, 51%)
HSVhsv(57, 69%, 78%)
CMYKcmyk(0%, 3.5%, 69.3%, 22%)
CIE-LABlab(76.18, -12.76, 63.52)
CIE-LCHlch(76.18, 64.79, 101.36°)
OKLaboklab(79.03% -0.0413 0.1415)
OKLCHoklch(79.03% 0.147 106.3)
XYZxyz(43.2468, 50.1798, 11.8216)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C03D #3D44C7
analogous
#C77B3D #C7C03D #89C73D
triadic
#C7C03D #3DC7C0 #C03DC7
tetradic
#C7C03D #3DC77B #3D44C7 #C73D89
square
#C7C03D #3DC77B #3D44C7 #C73D89
split-complementary
#C7C03D #3D89C7 #7B3DC7
monochromatic
#6B671F #9A952D #C7C03D #D5CF6C #E2DF9C

Accessibility & contrast

On white

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

On black

11.04
#C7C03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C03D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C03D#FFFFFF#000000##000000
##C7C03D1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c03d;
/* rgb */ color: rgb(199, 192, 61);
/* oklch */ color: oklch(79.0% 0.147 106.3);
Tailwind
colors: {
  custom: {
    50: '#dbd27b',
    500: '#c7c03d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c03d;
$custom-light: #dbd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c03d",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 56.957,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79027,
    "c": 0.14743,
    "h": 106.3
  },
  "luminance": 0.50178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C03D

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

Preview Lab → · Contrast checker → · Palette generator →

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