#C7C052#C7C052

#C7C052 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.132 H 105.6°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C7C052
RGBrgb(199, 192, 82)
HSLhsl(56, 51%, 55%)
HSVhsv(56, 59%, 78%)
CMYKcmyk(0%, 3.5%, 58.8%, 22%)
CIE-LABlab(76.35, -11.47, 55.00)
CIE-LCHlch(76.35, 56.18, 101.78°)
OKLaboklab(79.21% -0.0354 0.1267)
OKLCHoklch(79.21% 0.132 105.6)
XYZxyz(43.9272, 50.4520, 15.4053)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C052 #5259C7
analogous
#C78552 #C7C052 #94C752
triadic
#C7C052 #52C7C0 #C052C7
tetradic
#C7C052 #52C785 #5259C7 #C75294
square
#C7C052 #52C785 #5259C7 #C75294
split-complementary
#C7C052 #5294C7 #8552C7
monochromatic
#787327 #A69F36 #C7C052 #D6D180 #E5E2AE

Accessibility & contrast

On white

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

On black

11.09
#C7C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C052
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C052#FFFFFF#000000##000000
##C7C0521.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA46
Deuteranopia (green-blind)
#D2BF58
Tritanopia (blue-blind)
#D4B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c052;
/* rgb */ color: rgb(199, 192, 82);
/* oklch */ color: oklch(79.2% 0.132 105.6);
Tailwind
colors: {
  custom: {
    50: '#dbd287',
    500: '#c7c052',
    950: '#000000',
  },
}
SCSS
$custom: #c7c052;
$custom-light: #dbd287;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c052",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 56.41,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79213,
    "c": 0.13153,
    "h": 105.6
  },
  "luminance": 0.50451
}

Semantic roles & 50–950 ramp

primary
#C7C052
secondary
#3D4180
accent
#56DB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C052

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

Preview Lab → · Contrast checker → · Palette generator →

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