#C7C430#C7C430

#C7C430 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.8% C 0.159 H 108.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#C7C430
RGBrgb(199, 196, 48)
HSLhsl(59, 61%, 48%)
HSVhsv(59, 76%, 78%)
CMYKcmyk(0%, 1.5%, 75.9%, 22%)
CIE-LABlab(77.18, -15.37, 68.97)
CIE-LCHlch(77.18, 70.66, 102.56°)
OKLaboklab(79.8% -0.0499 0.1507)
OKLCHoklch(79.8% 0.159 108.3)
XYZxyz(43.8283, 51.8368, 10.4925)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C430 #3033C7
analogous
#C77830 #C7C430 #7EC730
triadic
#C7C430 #30C7C4 #C430C7
tetradic
#C7C430 #30C778 #3033C7 #C7307E
square
#C7C430 #30C778 #3033C7 #C7307E
split-complementary
#C7C430 #307EC7 #7830C7
monochromatic
#646318 #969324 #C7C430 #D8D55C #E4E28E

Accessibility & contrast

On white

1.85
#C7C430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#C7C430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C430
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C430#FFFFFF#000000##000000
##C7C4301.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC08
Deuteranopia (green-blind)
#D7C13C
Tritanopia (blue-blind)
#D6B7A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c430;
/* rgb */ color: rgb(199, 196, 48);
/* oklch */ color: oklch(79.8% 0.159 108.3);
Tailwind
colors: {
  custom: {
    50: '#dcd574',
    500: '#c7c430',
    950: '#000000',
  },
}
SCSS
$custom: #c7c430;
$custom-light: #dcd574;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c430",
  "rgb": {
    "r": 199,
    "g": 196,
    "b": 48
  },
  "hsl": {
    "h": 58.808,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79804,
    "c": 0.15877,
    "h": 108.3
  },
  "luminance": 0.51835
}

Semantic roles & 50–950 ramp

primary
#C7C430
secondary
#2C2E6F
accent
#47E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C430

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

Preview Lab → · Contrast checker → · Palette generator →

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