#C7D73C#C7D73C

#C7D73C is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.0% C 0.171 H 115.3°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#C7D73C
RGBrgb(199, 215, 60)
HSLhsl(66, 66%, 54%)
HSVhsv(66, 72%, 84%)
CMYKcmyk(7.4%, 0%, 72.1%, 15.7%)
CIE-LABlab(82.42, -24.19, 69.96)
CIE-LCHlch(82.42, 74.02, 109.07°)
OKLaboklab(84.01% -0.0734 0.1549)
OKLCHoklch(84.01% 0.171 115.3)
XYZxyz(48.6706, 61.0700, 13.4979)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D73C #4C3CD7
analogous
#D79A3C #C7D73C #7AD73C
triadic
#C7D73C #3CC7D7 #D73CC7
tetradic
#C7D73C #3CD79A #4C3CD7 #D73C7A
square
#C7D73C #3CD79A #4C3CD7 #D73C7A
split-complementary
#C7D73C #3C7AD7 #9A3CD7
monochromatic
#747F1A #A3B124 #C7D73C #D6E16F #E4ECA2

Accessibility & contrast

On white

1.59
#C7D73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#C7D73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D73C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D73C#FFFFFF#000000##000000
##C7D73C1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC1D
Deuteranopia (green-blind)
#E5CE49
Tritanopia (blue-blind)
#D4CBB9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d73c;
/* rgb */ color: rgb(199, 215, 60);
/* oklch */ color: oklch(84.0% 0.171 115.3);
Tailwind
colors: {
  custom: {
    50: '#dce37c',
    500: '#c7d73c',
    950: '#000000',
  },
}
SCSS
$custom: #c7d73c;
$custom-light: #dce37c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d73c",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 60
  },
  "hsl": {
    "h": 66.194,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84013,
    "c": 0.17144,
    "h": 115.3
  },
  "luminance": 0.61069
}

Semantic roles & 50–950 ramp

primary
#C7D73C
secondary
#3A3186
accent
#3FE950
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D73C

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

Preview Lab → · Contrast checker → · Palette generator →

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