#C7C048#C7C048

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

Color values

HEX#C7C048
RGBrgb(199, 192, 72)
HSLhsl(57, 53%, 53%)
HSVhsv(57, 64%, 78%)
CMYKcmyk(0%, 3.5%, 63.8%, 22%)
CIE-LABlab(76.26, -12.13, 59.23)
CIE-LCHlch(76.26, 60.46, 101.58°)
OKLaboklab(79.12% -0.0384 0.1342)
OKLCHoklch(79.12% 0.14 106)
XYZxyz(43.5741, 50.3107, 13.5453)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C048 #484FC7
analogous
#C78048 #C7C048 #8EC748
triadic
#C7C048 #48C7C0 #C048C7
tetradic
#C7C048 #48C780 #484FC7 #C7488E
square
#C7C048 #48C780 #484FC7 #C7488E
split-complementary
#C7C048 #488EC7 #8048C7
monochromatic
#726D23 #A19A31 #C7C048 #D5D077 #E4E0A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C048#FFFFFF#000000##000000
##C7C0481.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)
#D0B939
Deuteranopia (green-blind)
#D3BE4F
Tritanopia (blue-blind)
#D5B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c048;
/* rgb */ color: rgb(199, 192, 72);
/* oklch */ color: oklch(79.1% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#dbd281',
    500: '#c7c048',
    950: '#000000',
  },
}
SCSS
$custom: #c7c048;
$custom-light: #dbd281;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c048",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 56.693,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79116,
    "c": 0.13963,
    "h": 106
  },
  "luminance": 0.50309
}

Semantic roles & 50–950 ramp

primary
#C7C048
secondary
#383C7B
accent
#53DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C048

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

Preview Lab → · Contrast checker → · Palette generator →

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