#C7C730#C7C730

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

Color values

HEX#C7C730
RGBrgb(199, 199, 48)
HSLhsl(60, 61%, 48%)
HSVhsv(60, 76%, 78%)
CMYKcmyk(0%, 0%, 75.9%, 22%)
CIE-LABlab(78.00, -16.87, 69.71)
CIE-LCHlch(78.00, 71.72, 103.60°)
OKLaboklab(80.45% -0.0541 0.1523)
OKLCHoklch(80.45% 0.162 109.5)
XYZxyz(44.5118, 53.2037, 10.7204)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C730 #3030C7
analogous
#C77B30 #C7C730 #7BC730
triadic
#C7C730 #30C7C7 #C730C7
tetradic
#C7C730 #30C77B #3030C7 #C7307B
square
#C7C730 #30C77B #3030C7 #C7307B
split-complementary
#C7C730 #307BC7 #7B30C7
monochromatic
#646418 #969624 #C7C730 #D8D85C #E4E48E

Accessibility & contrast

On white

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

On black

11.64
#C7C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C730
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C730#FFFFFF#000000##000000
##C7C7301.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c730;
/* rgb */ color: rgb(199, 199, 48);
/* oklch */ color: oklch(80.5% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#dcd775',
    500: '#c7c730',
    950: '#000000',
  },
}
SCSS
$custom: #c7c730;
$custom-light: #dcd775;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c730",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80452,
    "c": 0.16162,
    "h": 109.5
  },
  "luminance": 0.53202
}

Semantic roles & 50–950 ramp

primary
#C7C730
secondary
#2C2C6F
accent
#44E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C730

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

Preview Lab → · Contrast checker → · Palette generator →

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