#C7C73B#C7C73B

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

Color values

HEX#C7C73B
RGBrgb(199, 199, 59)
HSLhsl(60, 56%, 51%)
HSVhsv(60, 70%, 78%)
CMYKcmyk(0%, 0%, 70.4%, 22%)
CIE-LABlab(78.06, -16.39, 66.10)
CIE-LCHlch(78.06, 68.10, 103.92°)
OKLaboklab(80.52% -0.0517 0.1466)
OKLCHoklch(80.52% 0.155 109.4)
XYZxyz(44.7676, 53.3061, 12.0677)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C73B #3B3BC7
analogous
#C7813B #C7C73B #81C73B
triadic
#C7C73B #3BC7C7 #C73BC7
tetradic
#C7C73B #3BC781 #3B3BC7 #C73B81
square
#C7C73B #3BC781 #3B3BC7 #C73B81
split-complementary
#C7C73B #3B81C7 #813BC7
monochromatic
#69691E #99992C #C7C73B #D5D56B #E2E29A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C73B#FFFFFF#000000##000000
##C7C73B1.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)
#D7BF22
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#D5BAAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c73b;
/* rgb */ color: rgb(199, 199, 59);
/* oklch */ color: oklch(80.5% 0.155 109.4);
Tailwind
colors: {
  custom: {
    50: '#dcd77a',
    500: '#c7c73b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c73b;
$custom-light: #dcd77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c73b",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80519,
    "c": 0.15547,
    "h": 109.4
  },
  "luminance": 0.53305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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