#C7C046#C7C046

#C7C046 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.1% C 0.141 H 106.0°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C7C046
RGBrgb(199, 192, 70)
HSLhsl(57, 54%, 53%)
HSVhsv(57, 65%, 78%)
CMYKcmyk(0%, 3.5%, 64.8%, 22%)
CIE-LABlab(76.24, -12.26, 60.04)
CIE-LCHlch(76.24, 61.28, 101.54°)
OKLaboklab(79.1% -0.039 0.1357)
OKLCHoklch(79.1% 0.141 106)
XYZxyz(43.5099, 50.2851, 13.2072)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C046 #464DC7
analogous
#C77F46 #C7C046 #8EC746
triadic
#C7C046 #46C7C0 #C046C7
tetradic
#C7C046 #46C77F #464DC7 #C7468E
square
#C7C046 #46C77F #464DC7 #C7468E
split-complementary
#C7C046 #468EC7 #7F46C7
monochromatic
#716C22 #A09930 #C7C046 #D5D075 #E3E0A4

Accessibility & contrast

On white

1.90
#C7C046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C7C046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C046
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C046#FFFFFF#000000##000000
##C7C0461.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B936
Deuteranopia (green-blind)
#D3BE4E
Tritanopia (blue-blind)
#D5B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c046;
/* rgb */ color: rgb(199, 192, 70);
/* oklch */ color: oklch(79.1% 0.141 106.0);
Tailwind
colors: {
  custom: {
    50: '#dbd280',
    500: '#c7c046',
    950: '#000000',
  },
}
SCSS
$custom: #c7c046;
$custom-light: #dbd280;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c046",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 56.744,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79099,
    "c": 0.14114,
    "h": 106
  },
  "luminance": 0.50284
}

Semantic roles & 50–950 ramp

primary
#C7C046
secondary
#373B7A
accent
#53DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C046

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

Preview Lab → · Contrast checker → · Palette generator →

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