#C7C050#C7C050

#C7C050 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.133 H 105.7°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C7C050
RGBrgb(199, 192, 80)
HSLhsl(56, 52%, 55%)
HSVhsv(56, 60%, 78%)
CMYKcmyk(0%, 3.5%, 59.8%, 22%)
CIE-LABlab(76.33, -11.61, 55.87)
CIE-LCHlch(76.33, 57.06, 101.74°)
OKLaboklab(79.19% -0.036 0.1283)
OKLCHoklch(79.19% 0.133 105.7)
XYZxyz(43.8523, 50.4220, 15.0103)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C050 #5057C7
analogous
#C78550 #C7C050 #92C750
triadic
#C7C050 #50C7C0 #C050C7
tetradic
#C7C050 #50C785 #5057C7 #C75092
square
#C7C050 #50C785 #5057C7 #C75092
split-complementary
#C7C050 #5092C7 #8550C7
monochromatic
#777226 #A59E35 #C7C050 #D6D17E #E5E1AD

Accessibility & contrast

On white

1.89
#C7C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#C7C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C050
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C050#FFFFFF#000000##000000
##C7C0501.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB943
Deuteranopia (green-blind)
#D2BF56
Tritanopia (blue-blind)
#D5B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c050;
/* rgb */ color: rgb(199, 192, 80);
/* oklch */ color: oklch(79.2% 0.133 105.7);
Tailwind
colors: {
  custom: {
    50: '#dbd285',
    500: '#c7c050',
    950: '#000000',
  },
}
SCSS
$custom: #c7c050;
$custom-light: #dbd285;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c050",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 56.471,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79192,
    "c": 0.13322,
    "h": 105.7
  },
  "luminance": 0.50421
}

Semantic roles & 50–950 ramp

primary
#C7C050
secondary
#3C407F
accent
#55DB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C050

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

Preview Lab → · Contrast checker → · Palette generator →

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