#C7C630#C7C630

#C7C630 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.2% C 0.161 H 109.1°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#C7C630
RGBrgb(199, 198, 48)
HSLhsl(60, 61%, 48%)
HSVhsv(60, 76%, 78%)
CMYKcmyk(0%, 0.5%, 75.9%, 22%)
CIE-LABlab(77.72, -16.37, 69.46)
CIE-LCHlch(77.72, 71.36, 103.26°)
OKLaboklab(80.24% -0.0527 0.1518)
OKLCHoklch(80.24% 0.161 109.1)
XYZxyz(44.2825, 52.7451, 10.6439)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C630 #3031C7
analogous
#C77A30 #C7C630 #7CC730
triadic
#C7C630 #30C7C6 #C630C7
tetradic
#C7C630 #30C77A #3031C7 #C7307C
square
#C7C630 #30C77A #3031C7 #C7307C
split-complementary
#C7C630 #307CC7 #7A30C7
monochromatic
#646418 #969524 #C7C630 #D8D75C #E4E38E

Accessibility & contrast

On white

1.82
#C7C630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#C7C630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C630
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C630#FFFFFF#000000##000000
##C7C6301.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE06
Deuteranopia (green-blind)
#D8C23D
Tritanopia (blue-blind)
#D5B9AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c630;
/* rgb */ color: rgb(199, 198, 48);
/* oklch */ color: oklch(80.2% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#dcd775',
    500: '#c7c630',
    950: '#000000',
  },
}
SCSS
$custom: #c7c630;
$custom-light: #dcd775;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c630",
  "rgb": {
    "r": 199,
    "g": 198,
    "b": 48
  },
  "hsl": {
    "h": 59.603,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80236,
    "c": 0.16067,
    "h": 109.1
  },
  "luminance": 0.52744
}

Semantic roles & 50–950 ramp

primary
#C7C630
secondary
#2C2D6F
accent
#45E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C630

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

Preview Lab → · Contrast checker → · Palette generator →

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