#C7C733#C7C733

#C7C733 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.5% C 0.160 H 109.5°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#C7C733
RGBrgb(199, 199, 51)
HSLhsl(60, 59%, 49%)
HSVhsv(60, 74%, 78%)
CMYKcmyk(0%, 0%, 74.4%, 22%)
CIE-LABlab(78.01, -16.75, 68.78)
CIE-LCHlch(78.01, 70.79, 103.69°)
OKLaboklab(80.47% -0.0535 0.1509)
OKLCHoklch(80.47% 0.16 109.5)
XYZxyz(44.5758, 53.2293, 11.0575)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C733 #3333C7
analogous
#C77D33 #C7C733 #7DC733
triadic
#C7C733 #33C7C7 #C733C7
tetradic
#C7C733 #33C77D #3333C7 #C7337D
square
#C7C733 #33C77D #3333C7 #C7337D
split-complementary
#C7C733 #337DC7 #7D33C7
monochromatic
#66661A #969627 #C7C733 #D6D661 #E3E391

Accessibility & contrast

On white

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

On black

11.65
#C7C733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C733
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C733#FFFFFF#000000##000000
##C7C7331.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE10
Deuteranopia (green-blind)
#D9C33F
Tritanopia (blue-blind)
#D5BAAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c733;
/* rgb */ color: rgb(199, 199, 51);
/* oklch */ color: oklch(80.5% 0.160 109.5);
Tailwind
colors: {
  custom: {
    50: '#dcd776',
    500: '#c7c733',
    950: '#000000',
  },
}
SCSS
$custom: #c7c733;
$custom-light: #dcd776;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c733",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80469,
    "c": 0.16006,
    "h": 109.5
  },
  "luminance": 0.53228
}

Semantic roles & 50–950 ramp

primary
#C7C733
secondary
#2E2E70
accent
#45E245
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C733

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

Preview Lab → · Contrast checker → · Palette generator →

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