#C7C754#C7C754

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

Color values

HEX#C7C754
RGBrgb(199, 199, 84)
HSLhsl(60, 51%, 55%)
HSVhsv(60, 58%, 78%)
CMYKcmyk(0%, 0%, 57.8%, 22%)
CIE-LABlab(78.25, -14.87, 56.22)
CIE-LCHlch(78.25, 58.15, 104.82°)
OKLaboklab(80.73% -0.0449 0.1295)
OKLCHoklch(80.73% 0.137 109.1)
XYZxyz(45.5781, 53.6303, 16.3365)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C754 #5454C7
analogous
#C78D54 #C7C754 #8DC754
triadic
#C7C754 #54C7C7 #C754C7
tetradic
#C7C754 #54C78D #5454C7 #C7548D
square
#C7C754 #54C78D #5454C7 #C7548D
split-complementary
#C7C754 #548DC7 #8D54C7
monochromatic
#797928 #A7A737 #C7C754 #D6D682 #E5E5B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C754#FFFFFF#000000##000000
##C7C7541.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)
#D6BF47
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#D4BCAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c754;
/* rgb */ color: rgb(199, 199, 84);
/* oklch */ color: oklch(80.7% 0.137 109.1);
Tailwind
colors: {
  custom: {
    50: '#dbd788',
    500: '#c7c754',
    950: '#000000',
  },
}
SCSS
$custom: #c7c754;
$custom-light: #dbd788;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c754",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80732,
    "c": 0.13707,
    "h": 109.1
  },
  "luminance": 0.53629
}

Semantic roles & 50–950 ramp

primary
#C7C754
secondary
#3E3E82
accent
#4EDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C754

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

Preview Lab → · Contrast checker → · Palette generator →

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