#C7C043#C7C043

#C7C043 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.1% C 0.143 H 106.1°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#C7C043
RGBrgb(199, 192, 67)
HSLhsl(57, 54%, 52%)
HSVhsv(57, 66%, 78%)
CMYKcmyk(0%, 3.5%, 66.3%, 22%)
CIE-LABlab(76.22, -12.43, 61.23)
CIE-LCHlch(76.22, 62.48, 101.48°)
OKLaboklab(79.07% -0.0398 0.1377)
OKLCHoklch(79.07% 0.143 106.1)
XYZxyz(43.4176, 50.2481, 12.7209)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C043 #434AC7
analogous
#C77E43 #C7C043 #8CC743
triadic
#C7C043 #43C7C0 #C043C7
tetradic
#C7C043 #43C77E #434AC7 #C7438C
square
#C7C043 #43C77E #434AC7 #C7438C
split-complementary
#C7C043 #438CC7 #7E43C7
monochromatic
#6F6B21 #9E982F #C7C043 #D5D072 #E3E0A1

Accessibility & contrast

On white

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

On black

11.05
#C7C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C043
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C043#FFFFFF#000000##000000
##C7C0431.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c043;
/* rgb */ color: rgb(199, 192, 67);
/* oklch */ color: oklch(79.1% 0.143 106.1);
Tailwind
colors: {
  custom: {
    50: '#dbd27e',
    500: '#c7c043',
    950: '#000000',
  },
}
SCSS
$custom: #c7c043;
$custom-light: #dbd27e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c043",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 56.818,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79074,
    "c": 0.14333,
    "h": 106.1
  },
  "luminance": 0.50247
}

Semantic roles & 50–950 ramp

primary
#C7C043
secondary
#363A78
accent
#52DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C043

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

Preview Lab → · Contrast checker → · Palette generator →

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