#C7C830#C7C830

#C7C830 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.163 H 109.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C7C830
RGBrgb(199, 200, 48)
HSLhsl(60, 61%, 49%)
HSVhsv(60, 76%, 78%)
CMYKcmyk(0.5%, 0%, 76%, 21.6%)
CIE-LABlab(78.27, -17.37, 69.96)
CIE-LCHlch(78.27, 72.08, 103.94°)
OKLaboklab(80.67% -0.0554 0.1528)
OKLCHoklch(80.67% 0.163 109.9)
XYZxyz(44.7426, 53.6654, 10.7973)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C830 #3130C8
analogous
#C87D30 #C7C830 #7BC830
triadic
#C7C830 #30C7C8 #C830C7
tetradic
#C7C830 #30C87D #3130C8 #C8307B
square
#C7C830 #30C87D #3130C8 #C8307B
split-complementary
#C7C830 #307BC8 #7D30C8
monochromatic
#656518 #969724 #C7C830 #D7D85D #E3E48E

Accessibility & contrast

On white

1.79
#C7C830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#C7C830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C830
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C830#FFFFFF#000000##000000
##C7C8301.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF04
Deuteranopia (green-blind)
#DAC43D
Tritanopia (blue-blind)
#D5BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c830;
/* rgb */ color: rgb(199, 200, 48);
/* oklch */ color: oklch(80.7% 0.163 109.9);
Tailwind
colors: {
  custom: {
    50: '#dcd875',
    500: '#c7c830',
    950: '#000000',
  },
}
SCSS
$custom: #c7c830;
$custom-light: #dcd875;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c830",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 48
  },
  "hsl": {
    "h": 60.395,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80669,
    "c": 0.16259,
    "h": 109.9
  },
  "luminance": 0.53664
}

Semantic roles & 50–950 ramp

primary
#C7C830
secondary
#2D2D70
accent
#43E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C830

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

Preview Lab → · Contrast checker → · Palette generator →

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