#C7C73A#C7C73A

#C7C73A is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.5% C 0.156 H 109.4°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#C7C73A
RGBrgb(199, 199, 58)
HSLhsl(60, 56%, 50%)
HSVhsv(60, 71%, 78%)
CMYKcmyk(0%, 0%, 70.9%, 22%)
CIE-LABlab(78.05, -16.43, 66.44)
CIE-LCHlch(78.05, 68.45, 103.89°)
OKLaboklab(80.51% -0.052 0.1472)
OKLCHoklch(80.51% 0.156 109.4)
XYZxyz(44.7419, 53.2958, 11.9324)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C73A #3A3AC7
analogous
#C7803A #C7C73A #80C73A
triadic
#C7C73A #3AC7C7 #C73AC7
tetradic
#C7C73A #3AC780 #3A3AC7 #C73A80
square
#C7C73A #3AC780 #3A3AC7 #C73A80
split-complementary
#C7C73A #3A80C7 #803AC7
monochromatic
#69691E #98982B #C7C73A #D5D56A #E2E299

Accessibility & contrast

On white

1.80
#C7C73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#C7C73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C73A
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C73A#FFFFFF#000000##000000
##C7C73A1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF20
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#D5BAAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c73a;
/* rgb */ color: rgb(199, 199, 58);
/* oklch */ color: oklch(80.5% 0.156 109.4);
Tailwind
colors: {
  custom: {
    50: '#dcd77a',
    500: '#c7c73a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c73a;
$custom-light: #dcd77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c73a",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80513,
    "c": 0.15607,
    "h": 109.4
  },
  "luminance": 0.53294
}

Semantic roles & 50–950 ramp

primary
#C7C73A
secondary
#323273
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C73A

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

Preview Lab → · Contrast checker → · Palette generator →

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